You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I previously hosted my Langgraph backend API locally using a Docker container, and everything worked as long as the container was running. The frontend was hosted on Vercel.
Recently, I migrated the backend API to Langgraph Cloud and redeployed the frontend on Vercel after removing the previous deployment. I updated the environment variable NEXT_PUBLIC_API_URL to point to the new cloud API server and modified the frontend code accordingly.
return new Client({
apiUrl: apiUrl,
apiKey: apiKey
});
};`
However, the application is now failing to work, and I keep receiving error messages. The error log from the browser console is included below. It seems that the API requests are not including the necessary authentication information, even though I have provided the API key.
`Failed to load resource: the server responded with a status of 403 ()Understand this errorAI
hopeforum-3c3acab5702053c6bd3f6b4ba3dd4af5.us.langgraph.app/threads:1
Failed to load resource: the server responded with a status of 403 ()Understand this errorAI
7864-89868cf8d113930b.js:1 Error creating thread HTTPError: HTTP 403: {"detail":"Missing authentication headers"}
at HTTPError.fromResponse (7933-37d17a5b62912814.js:256:24595)
at async 7933-37d17a5b62912814.js:256:25713
at async RetryOperation._fn (7933-37d17a5b62912814.js:204:6647)
(anonymous) @ 7864-89868cf8d113930b.js:1Understand this errorAI
7933-37d17a5b62912814.js:256 Uncaught (in promise) HTTPError: HTTP 403: {"detail":"Missing authentication headers"}
at HTTPError.fromResponse (7933-37d17a5b62912814.js:256:24595)
at async 7933-37d17a5b62912814.js:256:25713
at async RetryOperation._fn (7933-37d17a5b62912814.js:204:6647)`
Could you please advise on what additional authentication details or configuration might be required?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I previously hosted my Langgraph backend API locally using a Docker container, and everything worked as long as the container was running. The frontend was hosted on Vercel.
Recently, I migrated the backend API to Langgraph Cloud and redeployed the frontend on Vercel after removing the previous deployment. I updated the environment variable NEXT_PUBLIC_API_URL to point to the new cloud API server and modified the frontend code accordingly.
`export const createClient = () => {
const apiUrl = process.env.NEXT_PUBLIC_API_URL;
const apiKey = process.env.LANGSMITH_API_KEY;
return new Client({
apiUrl: apiUrl,
apiKey: apiKey
});
};`
However, the application is now failing to work, and I keep receiving error messages. The error log from the browser console is included below. It seems that the API requests are not including the necessary authentication information, even though I have provided the API key.
`Failed to load resource: the server responded with a status of 403 ()Understand this errorAI
hopeforum-3c3acab5702053c6bd3f6b4ba3dd4af5.us.langgraph.app/threads:1
7864-89868cf8d113930b.js:1 Error creating thread HTTPError: HTTP 403: {"detail":"Missing authentication headers"}
at HTTPError.fromResponse (7933-37d17a5b62912814.js:256:24595)
at async 7933-37d17a5b62912814.js:256:25713
at async RetryOperation._fn (7933-37d17a5b62912814.js:204:6647)
(anonymous) @ 7864-89868cf8d113930b.js:1Understand this errorAI
7933-37d17a5b62912814.js:256 Uncaught (in promise) HTTPError: HTTP 403: {"detail":"Missing authentication headers"}
at HTTPError.fromResponse (7933-37d17a5b62912814.js:256:24595)
at async 7933-37d17a5b62912814.js:256:25713
at async RetryOperation._fn (7933-37d17a5b62912814.js:204:6647)`
Could you please advise on what additional authentication details or configuration might be required?
Thank you for your assistance.
Beta Was this translation helpful? Give feedback.
All reactions