Result / Debugger Panel Empty After Run
Options
Marianna Kerppola
Member ✭
Hi! I set up an external API with a While Loop to run the GET endpoint multiple times with an offset in order to get all 400+ records (since Airtable limits you to 100 records per call). The API itself works correctly, and everything looks right in my Xano table. However, at the end of the run, I get a blank Result / Debugger panel. Not sure if this is a bug for others or if I set up the While Loop in a way that makes it run infinitely (definitely possible!). 🤷♀️
[Screen Shot 2021-07-14 at 9.24.55 AM.png]
[Screen Shot 2021-07-14 at 9.24.55 AM.png]
Comments
-
It's definitely the While Loop.
Is there a way to check whether a result contains a variable? When the API gets to the end of the record list, offset is not included in the last set of results. I can't quite think of how to tell Xano "If offset isn't included in the results, end the loop" since there isn't a "contains" condition. 🤔 -
Hey! You may want to consider using a Loop: Break function in here. Probably first establish your offset outside equal to 1 and within the loop update the offset to be plus 1. And have a conditions for when to apply the break loop, for example offset = 3. There will likely be too much data for something this large for the debugger to handle though just a heads up...
If you are still having trouble, I recommend coming to office hours so we can help you solve this
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