- My goal: Use the user_invites retool endpoint to send an invite that includes an attribute of JSON type
- Issue: The endpoint only accepts stringified values for JSON type attributes. When the invite is sent, this is the response I get:
When I look at the user in Retool’s settings, the attribute is properly formatted as JSON:
However, when the user logs in, the metadata comes across as a string:
INterestingly, when I use the user_attributes endpoint to edit the values (which uses the exact same structure, with stringified values), it fixes it, so not sure what is really going on.
For now I have applied a fix to my queries to parse the attribute if it is not an array, but this is not sustainable and I’d appreciate some guidance or confirmation that this is a bug.
Thanks!


