Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
supabase ege function unAutherize error# - Supabase
S
Supabase
•
2mo ago
•
2 replies
ziaurrehman
supabase ege function unAutherize error#
edge functions
Intermittent Unauthorized Errors with DeepInfra Whisper API in Supabase Edge Function
I
’m using a Supabase Edge Function
(Deno runtime
) to transcribe audio via the DeepInfra Whisper API
(
https://api.deepinfra.com/v1/inference/openai/whisper-large-v3-turbo
)
.
The function works fine most of the time
, but occasionally it returns an
“Unauthorized
”
(HTTP 401
) error
.
Environment
:
OS
: Any
(Supabase Edge runtime
)
Framework
/ Platform
: Supabase Edge Functions
Supabase JS library
:
@supabase
/supabase
-js
@2
Edge function runtime
: Deno
Observed Behavior
:
Requests sent from Postman with the same API key succeed consistently
.
Requests from the Edge Function intermittently fail with 401 Unauthorized
.
Supabase Settings
:
“Verify JWT with legacy secret
” is turned off
.
What I
’m trying to achieve
:
Consistently transcribe audio via the Whisper API from within a Supabase Edge Function and store the transcript in the Supabase database
.
Steps already taken
:
Using Deno
.env
.get
(
"DEEPINFRA
_API
_KEY
"
) to retrieve the API key
.
Sending the audio file as FormData in a POST request
.
Updating the Supabase table after transcription
.
message.txt
4.42KB
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Supabase Function issue
S
Supabase / help-and-questions
8mo ago
Supabase edge function issue
S
Supabase / help-and-questions
3w ago
500 from supabase function
S
Supabase / help-and-questions
7mo ago
Supabase function invite user
S
Supabase / help-and-questions
4y ago