401
what this HTTP status codes error means
How it shows up
HTTP/1.1 401 Unauthorized
What it means
The request was refused because it does not carry valid authentication credentials for the resource. The server expects the client to authenticate first.
The usual cause in an AI-built app
AI-generated front ends often call an API route or edge function with plain fetch and forget to attach the signed-in user's token, or send the request before the session has loaded.
Check this first
In the browser Network tab, open the failing request and check whether it sends an Authorization header with a token.