r/node
Replit API requests returning 307 redirect followed by Replit Shield 401 - anyone experienced this?
- upvotes
- 0
- comments
- 1
Post
Highlighted: the lines this signal was extracted from
I'm experiencing an issue with a Replit application where authenticated API requests are not reliably reaching the backend. Our investigation found: An API GET request returned an HTTP 307 redirect to Replit. The redirected request encountered a 401 response associated with Replit Shield. The application cannot reliably verify server-side data as a result. The underlying cause has not yet been confirmed. The application uses Clerk authentication and a Node.js/Express backend. Replit Support has escalated the issue and has access to a separate test project, but it has been 5 days and I'm still awaiting a response. Has anyone experienced similar behavior with private Replit previews, authenticated API routes, or Replit Shield? If so, what was the underlying cause, and did the solution require intervention from Replit Support? I appreciate any help. Thanks!