Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Missing Secret on UTApi - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
2 replies
Cristobal Burgos
Missing Secret on UTApi
Everytime I try to call a function that comes from the UTApi in my server it returns an error
tRPC failed on API
_NAME
: Missing
UPLOADTHING_SECRET
UPLOADTHING_SECRET
env variable
.
I have double checked the key is on the
.env and even initialized the UTApi
: as follow
import
{ UTApi
} from
"uploadthing
/server
"
;
export const utapi
= new UTApi
(
{ apiKey
: process
.env
.UPLOADTHING
_SECRET
}
)
;
Is there anything I
'm missing here
?
Thanks
!
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
UTApi deleteFiles
TTC
Theo's Typesafe Cult / questions
2y ago
UTApi getFileUrls 400
TTC
Theo's Typesafe Cult / questions
2y ago
UTAPI uploadFiles failing. Invalid URL
TTC
Theo's Typesafe Cult / questions
8mo ago
Deleting files with UTApi, unauthorized
TTC
Theo's Typesafe Cult / questions
3y ago