When a external API call get erros inside a loop.
Options
geraldoNeto
Unconfirmed, Member ✭
Whem I'm creating a record I get some data from a external api. I do it in a list with a loop function, but when a call gets not found, all the functions stops. My questions is: There's a filter that I can use to ignore this call in case it dosent get 200 response and carry on the functions just giving 0 for the result from api and don't stop the function?
Tagged:
Answers
-
Hi @geraldoNeto! 👋
Check out the try/ catch function. Normally, when an error occurs in the function stack, execution is halted entirely. If we wanted to deploy some customized error handling to change this behavior, you can do so by placing this function inside of a Try/Catch statement.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback