>2024-10-14T23:44:30.886140Z ERROR
>2024-10-14T23:44:30.886140Z ERROR common::errors: Caught error (RUST_BACKTRACE=1 RUST_LOG=info,common::errors=debug for full trace): The provided deploy key was invalid for deployment 'convex'. Double check that the environment this key was generated for matches the desired deployment.: Access token authorization is not supported
does nayone get this error? im using the correct admin key
6 Replies
https://github.com/get-convex/convex-backend?tab=readme-ov-file#provisioning-a-demo-app-locally
Have you been following these instructions? If you follow them, things will work.
Can you give more information about how you are providing the admin key and how you made sure it's correct? It looks like the error is indicating that the admin key you provided is not correct.
GitHub
GitHub - get-convex/convex-backend: The Convex open-source backend
The Convex open-source backend. Contribute to get-convex/convex-backend development by creating an account on GitHub.
Notably (from the README)
i run the latest aarch64 binary with the following arguments:
convex-local-backend --instance-name flying-fox-123 --instance-secret 4361726e697461732c206c69746572616c6c79206d65616e696e6720226c6974
then try to connect with convex dev with the admin key provided in the guidelooks like you may have been following the instructions from the self hosting guide?
Try following that
https://github.com/get-convex/convex-backend/blob/main/SELFHOSTING.md#generate-a-new-admin-key
GitHub
convex-backend/SELFHOSTING.md at main · get-convex/convex-backend
The Convex open-source backend. Contribute to get-convex/convex-backend development by creating an account on GitHub.
the default instance secret works with the default admin key
if you use a custom instance secret, then you will need a custom admin key that corresponds
depending on your goals, you can either opt to use the default instance-secret/admin-key combination (good for local dev), or generate your own combination (good for self hosting).
Neither of thise work
It always said access token authorization is not suppirted
I did the command to keygen adminkey