BAD_REQUEST | { error: 'Invalid API key' }

UPLOADTHING_SECRET= UPLOADTHING_APP_ID= I saved the API key you gave in the .env file. UPLOADTHING_SECRET= I entered UPLOADTHING_APP_ID= but I get { error: 'Invalid API key' } error (BAD_REQUEST | cannot retrieve pre-signed URLs)
No description
17 Replies
!  ☆ Piαrshieee ✯ L
Next.js
julius
julius14mo ago
you don't want the *** you want the actual key (assuming you didn't just replace it to post in here)
!  ☆ Piαrshieee ✯ L
I did everything in the document correctly, but it gives this error. I still don't know why and from which line it gives, please help me.
julius
julius14mo ago
so when you're copying your api key, did you press the copy button or just copied the text manually?
No description
julius
julius14mo ago
do you have all the **** in the .env file or is that just some extension that hides the actual value?
!  ☆ Piαrshieee ✯ L
I pressed the copy button I have to cancel my project, I couldn't solve this error
julius
julius14mo ago
^^^^
!  ☆ Piαrshieee ✯ L
extension that hides real value
!  ☆ Piαrshieee ✯ L
In this way
No description
julius
julius14mo ago
And what framework are you using? Are you sure the variables are loaded Cause i’d imagine they arent or Else you wouldnt get that error if you sent a valid api key
!  ☆ Piαrshieee ✯ L
Yes, I checked all of them again and again, there is no problem. Could uploadthing be a problem?
julius
julius14mo ago
Dont see how. Can you DM me appId and api key? I’ll check it
!  ☆ Piαrshieee ✯ L
google console
No description
!  ☆ Piαrshieee ✯ L
Sure
Want results from more Discord servers?
Add your server