Run your Spell in development
Hit run to see the result
Once your code is written and you want to test it, you can click on the Run button.
The console panel will automatically open and execute your Spell. After few seconds, you should see logs and your Spell response:
- On top of the console, you'll see the global result of your Spell
- Inside the logs, you'll see all data and error logged using
console.log()
,console.info()
andconsole.error()
methods. If a JSON object is logged, you'll be able to explore it. - At the bottom, you'll see the result and the JSON send back by your Spell
Dev, run and repeat
You can adjust your code and click on Run directly: a Save is done automatically before running your Spell.
Fix the connectors errors
You may encounter some errors on your Spell's connectors while running it. That's normal, so don't worry 😌
Despite our work on connectors, mandatory fields and instructions, APIs can have some "logic rules" not explained by the documentation.
Watch for errors message which are mainly self-explanatory and, if needed, check on official documentation website. You can find some hints or instructions not written inside the API documentation.
See the previous executions
You can go to the logs page to see the previous executions. More information about the logs here.