Subsequent Query calls within the embed retool app is returning 404

Hi,

I'm using Clerk authentication for a next.js project. I have successfully embedded a retool app within next.js. However, the REST API queries fail after the embed app loads with a 404 Error. Within the Retool App, they work fine. What do I need to do additionally? I'm passing the bearer token at the time of authentication to fetch the embed url which works well but subsequent internal queries happening within Retool is throwing a 404 error. If I need to add a metadata, then where do I need to add? Or any additional headers? If so, where?

Thanks
Suhas

1 Like

Hey @Suhas_Bhairav - thanks for reaching out.

The fact that you're seeing a 404 error, in particular, suggests that this is an issue with the URL of the request and not authentication. :thinking: Can you share the specific error messages that you're seeing in the browser console?