Hey, recently our embedded app stopped working and we're trying to debug. We successfully created the embed URL, but the API requests (e.g. GET https://{our_custom_domain}/api/pages/public?embed={app_id}) coming from the following React code:
import Retool from 'react-retool';
...
<Retool url={url} />
are failing. I see the error message { "success": false, "message": "No organization associated with this request" }, but the Retool user does indeed have permission to use the app. What's also weird is that the embedded app Retool components do show up, but sadly none of the actual queries work.
I'm not sure if this issue is on our end or Retool's, but any insight would be appreciated, thanks!
@jmann hi, we actually were able to resolve the issue by giving the relevant permission group explicit access to the resources used by the embedded app. For now, this is a suitable workaround.
I don't believe these explicit permissions were necessary when we first made the embed app. The resources use by the app were implicitly accessible to any groups who had access to the app itself.
Thanks for the details on the workaround here @lj96! Just to keep folks updated, the fixes weren't ready until a little too late in the day yesterday, looking to deploy once folks are online west coast time this morning.