Fixing publish errors
When you publish a template, ActualityPI checks that it makes sense. If it finds problems, you’ll see Publish failed with a list. Each item names the part of the template with the problem, such as “Action · Check in”, and, where it can, where in it: for example “In “Effects”, effect 2”. Tap an item to open that part. Other parts it involves are listed under Also involved. If you come back later, the list shows under Last publish failed.
If you see Published with a number of notes, such as Published with 2 notes, the template published, but some parts won’t work the way you might expect. Notes don’t stop publishing, but are worth reading.
If publishing fails
Section titled “If publishing fails”| Message | What to do |
|---|---|
| “The engine found problems in this draft. Fix them and publish again.” | Fix each item in the list, then publish again |
| “The draft changed while it was publishing. Publish again.” | Publish again |
| “The draft was deleted while it was publishing.” | The draft is gone. Fork a new draft if you need one |
| “This couldn’t be published. Try again.” | Publish again. If it keeps happening, contact support |
| “The engine rejected the request.” | Publish again. If it keeps happening, contact support |
| Publication conflict | Someone else changed the draft, or it’s already publishing. Tap Refresh and publish again |
Common errors
Section titled “Common errors”Most error messages say what to do. The most common ones:
| Error | What to do |
|---|---|
| “No entity template has this action and no trait grants it…” | Give the action to an entity template (in its Actions card), or grant it from a trait |
| “Nothing ever applies this trait…” | Give the trait to an entity template, apply it with an effect, have another trait count as it, or delete it |
| “Its maximum is 0…” | Raise the entity template’s Maximum instances to at least 1 |
| “The entity templates’ maximums add up to …, but a scenario can hold at most 500…” | Lower some entity templates’ Maximum instances |
| “It starts disarmed and nothing arms it.” | Turn on Armed to begin with, or arm the trigger from another trigger or action |
| “One of its effects changes an entity attribute that no entity template has…” | Give the attribute to an entity template or trait, or remove the effect |
| “Uses a … that has been deleted.” | Choose something else, or remove the part that uses it |
| “A saved condition this uses has changed since it was written.” | Open it and tap Update to match the condition, or choose who fills each part again |
| “This condition calls itself…” | Remove one of the calls |
| “Its entity template is set so nobody can control it…” | Change Who controls it on that entity template, or delete the requirement |
| “One of its effects takes … entities, but a single effect can reach at most 250…” | Lower the number to 250 or fewer |
Triggers that run before the scenario starts
Section titled “Triggers that run before the scenario starts”| Error | What to do |
|---|---|
| “…performs an action, cancels or redirects one, or completes the scenario…” | Remove that effect: none of those can happen before the start |
| “An effect arms or disarms a trigger that runs before the scenario starts.” | Remove the effect: those triggers are always armed |
| “A trigger waits for one that runs before the scenario starts.” | Make it wait for a different trigger |
See Triggers.
Limits
Section titled “Limits”| Error | What to do |
|---|---|
| “One kind of definition … has …, but a template can hold at most 200 of each kind…” | More than 200 attributes, traits, conditions, actions, relationships or triggers. Delete some of that kind |
| “Its attributes, traits, conditions, actions, relationships and triggers add up to …, but a template can hold at most 1,000…” | Delete some definitions |
| “It has … attributes, traits and actions combined, but one entity template can hold at most 100…” | Remove some from that entity template |
| “There are … activation requirements, but a template can hold at most 64…” | Delete some |
| “Its maximum is below its minimum…” | Raise the activation requirement’s maximum or lower its minimum |
| “Another activation requirement already asks for exactly the same thing…” | Delete this one |
| “One of its schedules has a time of …, but a timer can’t run shorter than 1 second…”, or a trait’s “Default duration” is too short | Make each time 1 second or more |
| “It gives the controller … to answer, but the shortest allowed is 30 seconds…” | Set the decision’s Timeout to 30 seconds or more |
| “It’s set to “Refresh duration” but has no “Default duration” to refresh…” | Set a Default duration, or choose another option under Applying it twice |
| “It counts as another trait that, directly or through others, counts as it again…” | Take a trait out of one of the Counts as these traits lists |
| “A starting relationship links an entity to itself…”, “Two of its starting relationships link the same two entities…”, or another message about a starting relationship | A starting link breaks the relationship’s limits or rules. Remove it, or change the rules |
| “One of its effect lists, or a loop inside one, has … effects, but a list can hold at most 64…” | Remove some effects, or move some into another trigger |
| “It’s aimed at … targets, but an action can take at most 32…” | Lower the action’s number of targets |
| “One of its conditions is too long…”, or “…would take too long to work out” | Simplify the condition or value |
If it says the template is too large or took too long, simplify it or split it into smaller templates. See Limits.
| Note | What it means |
|---|---|
| “Nothing creates this relationship…” | No starting relationship or effect creates it. It can still be added by hand |
| “Nothing uses this condition.” | You can delete it |
| “No entity that can exist has this attribute.” | Give it to an entity template or trait |
| “Has effects after one that always cancels or redirects the action…” | Those effects never run; move or remove them |
| “Has effects after a requirement that can never be met…” | Those effects never run |
| “Its “who can perform” or target rule is “never”…” | Nobody can use the action; change its rules |
| “Writes the same attribute, trait or relationship more than once in one go.” | Usually a mistake; check the effects |
| “Its “becomes” condition counts or totals entities…” | One action that changes several entities can fire it twice, or not at all |
| “Only definitions that can never take effect…” | Whatever gives out this action or trait, or arms this trigger, can never work, such as an entity template that can never exist. Fix that part |
| “Only present because another trait implies it…” | The trait only comes from Counts as these traits, so what it grants and its effects never apply |
| “What it does can’t be worked out before the scenario starts…” | Problems in this trigger only show when a scenario starts, so test it |
Stuck on an error? Contact support with the message.