Addons: Weird results - Extra Null in structure?
Options
![Toby -2289678](https://us.v-cdn.net/6037124/user_avatars/2289678.jpg)
Toby -2289678
Member ✭
So I'm getting some really weird results for Addons in between Xano and Retool:
This is Xano:[image.png]
which results in this:[image.png]That 'null' is the problem.
As ReTool sees this as:
[image.png]
This is Xano:[image.png]
which results in this:[image.png]That 'null' is the problem.
As ReTool sees this as:
[image.png]
Comments
-
- it looks like you have a double array. Is that intentional? feels like your "roles" addon should have an output=single on it so each role_id turns into an object.
Another issue may be the data in that roles_id array. What values are inside that? -
So I fixed the Null value, which was a poor configuration of the addon.
However, I can't get rid of the double array. -
perhaps change the return type on the addon to single? You can do this from the Addon page in the Library (Query all records > Output > Return)... or create a new Addon that is return type single
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