Management API & token auth

1. management api base url: https://api.convex.dev/v1 2./deployments/:deployment_name/create_deploy_key keeps on returning null 3. how do i auto login convex dev with access token like `team:barrel-...|tokenhere'
8 Replies
Convex Bot
Convex Bot2w ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Barrel Of Lube
Barrel Of LubeOP2w ago
Pastebin
sfdf.ts - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
ballingt
ballingt2w ago
@Barrel Of Lube null as in is it a 404?
Barrel Of Lube
Barrel Of LubeOP2w ago
yes
root@8702462661da:/mnt# bun run start.ts
perceptive-hare-711
Response (0 KB) {
ok: false,
url: "https://api.convex.dev/v1/deployments/perceptive-hare-711/create_deploy_key",
status: 404,
statusText: "Not Found",
headers: Headers {
"content-length": "0",
"date": "Wed, 13 Aug 2025 22:00:46 GMT",
},
redirected: false,
bodyUsed: false,
Blob (0 KB)
}
52 | "name": "vibz-mcp-server"
53 | })
54 | }
55 | );
56 | console.log(deployKeyRes);
57 | const deployKey = (await deployKeyRes.json()).deployKey;
^
TypeError: null is not an object (evaluating '(await deployKeyRes.json()).deployKey')
at main (/mnt/start.ts:57:46)

root@8702462661da:/mnt#
root@8702462661da:/mnt# bun run start.ts
perceptive-hare-711
Response (0 KB) {
ok: false,
url: "https://api.convex.dev/v1/deployments/perceptive-hare-711/create_deploy_key",
status: 404,
statusText: "Not Found",
headers: Headers {
"content-length": "0",
"date": "Wed, 13 Aug 2025 22:00:46 GMT",
},
redirected: false,
bodyUsed: false,
Blob (0 KB)
}
52 | "name": "vibz-mcp-server"
53 | })
54 | }
55 | );
56 | console.log(deployKeyRes);
57 | const deployKey = (await deployKeyRes.json()).deployKey;
^
TypeError: null is not an object (evaluating '(await deployKeyRes.json()).deployKey')
at main (/mnt/start.ts:57:46)

root@8702462661da:/mnt#
ballingt
ballingt2w ago
that endpoint is down rn we'll get the fix out soon
Barrel Of Lube
Barrel Of LubeOP2w ago
cool tnx can you ping me when its done
ballingt
ballingt2w ago
sure thing @Barrel Of Lube it's out!
Barrel Of Lube
Barrel Of LubeOP2w ago
yall quick

Did you find this page helpful?