S
Supabase•2mo ago
BloodThermic

new api key did not update in function

I just switched to the new api key system but the edge function did not update the secret and I cant
4 Replies
BloodThermic
BloodThermicOP•2mo ago
"🔥 Edge Function error: Error: Legacy API keys are disabled\n at getTokens (file:///tmp/user_fn_myycikffyquxaydjzamu_63820db3-58f9-4077-bcb2-69d25b5d4d14_81/source/index.ts:112:29)\n at eventLoopTick (ext:core/01_core.js:168:7)\n at async Server.<anonymous> (file:///tmp/user_fn_myycikffyquxaydjzamu_63820db3-58f9-4077-bcb2-69d25b5d4d14_81/source/index.ts:199:30)\n at async #respond (https://deno.land/std@0.168.0/http/server.ts:221:18)\n"
"🔥 Edge Function error: Error: Legacy API keys are disabled\n at getTokens (file:///tmp/user_fn_myycikffyquxaydjzamu_63820db3-58f9-4077-bcb2-69d25b5d4d14_81/source/index.ts:112:29)\n at eventLoopTick (ext:core/01_core.js:168:7)\n at async Server.<anonymous> (file:///tmp/user_fn_myycikffyquxaydjzamu_63820db3-58f9-4077-bcb2-69d25b5d4d14_81/source/index.ts:199:30)\n at async #respond (https://deno.land/std@0.168.0/http/server.ts:221:18)\n"
garyaustin
garyaustin•2mo ago
GitHub
Upcoming changes to Supabase API Keys · supabase · Discussion #29260
Timestamp Latest Update 17th June 2025 Early access to new API keys launched, available on all projects. Please give them a try and raise any issues in this discussion for the team to fix or addres...
No description
BloodThermic
BloodThermicOP•2mo ago
Love you thank you! Does this mean the new api keys dont work with edge functions?
garyaustin
garyaustin•2mo ago
I've not used them yet. Currently they are in a "silent" release as several issues have been found. You can read the description there and it seems it will work differently. If you have questions I would ask there as a SB employee is apparently watching that discussion.

Did you find this page helpful?