Prod build error broken: 403 Forbidden: ReadOnlyAdminKey: You do not have permission
My prod build just broke with the following error:
Error fetching POST https://exuberant-bullfrog-95.convex.cloud/api/prepare_schema 403 Forbidden: ReadOnlyAdminKey: You do not have permission to perform this operation.
Why is this happening? I correctly configured the deploy key on the env
10 Replies
And if I just switch the env variable to use another account project's keys/URL it works. I will eventually need to switch to this one though
i believe you must be an admin of the project to create a deploy key that can be used for pushing code to the deployment. you could ask a project admin to create a deploy key and use that key to set up the env
https://dashboard.convex.dev/project/settings should list the admins
Convex Dashboard
Manage your Convex apps
So "team admin" isn't enough? But what is the prod deploy key that is enabled for me good for then?
a readonly deploy key can be used to read data from convex into another system with a fivetran or airbyte source connector https://docs.convex.dev/production/integrations/streaming-import-export
Streaming Data in and out of Convex | Convex Developer Hub
Streaming Data in and out of Convex
can you #verify your account so we can look it up? i don't understand why you're a team admin but not project admin
thanks
Hmmm ok, I'll ask the owner to generate a key when I get the chance then
done
when did you create this key? i'm looking at the code now, and team admin should be sufficient, as long as you created the key after becoming a team admin
I created it today, a while after the owner granted me the "team admin" role. It could only have been created after I had the role because the button is disabled before that
well that's very confusing. we'll look into it on our end. out of curiosity, if you create a new deploy key, does that work?