chickenbuyC
Convex Community7mo ago
3 replies
chickenbuy

Unable to connect to Convex through CLI

I have been using Convex for a few weeks now. Somehow my local machine got logged out and now when I try to login again through the CLI I get the following error:
Unknown error during authorization: Error: Error fetching POST https://api.convex.dev/api/deployment/provision_and_authorize 401 Unauthorized: AuthenticationFailed: A valid access token is required for this command.

I have tried logging out and back in various ways but to no avail. Any suggestions or troubleshooting to resolve this issue? I'm able to log in to the Convex dashboard just fine.
Was this page helpful?