-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Vercel Blob: Access denied, please provide a valid token for this resource #456
Comments
Hey @eibelsalil, is this maybe a duplicate of #443. tl;dr of this issue: |
@eibelsalil just in case, are you perhaps using |
@vvo i'm having the same issue with the client upload even through I've verified the validUntil and allowedContentTypes. |
@ej020586 can you create a private repository demonstrating the issue and share it with us? That would be very helpful, my email: [email protected] |
I just received the same error and solved it for now by not using the If this error is related to the content type, perhaps the error message could be enhanced. |
@zeekrey Could you share an example to reproduce this issue? |
Hey @luismeyer, I took some time to figure it out: The issue appears to be with special characters such as '#'. I utilized the file name within the path, like this: const path = `${organization}/${member}/${filename}`; When users attempt to upload a file with a name like this (as an example, the actual file name was "Fathom Invoice #890396-0030.pdf"), they will encounter the following error message:
|
ah i see. I will create a bug ticket for this in our backlog, thanks for investigating @zeekrey |
@luismeyer, would it be alright with you if I create a bug ticket here on GitHub? That way, you can close it once it's resolved and I'll receive a notification. 😇 |
Hi, I am trying to client upload in svelte..
|
hi @ironbunny-ib, Line 11 of your code should be: token: BLOB_READ_WRITE_TOKEN, since |
I am not using the this code now, sorry! |
Im trying to upload an image file using client upload method using pages route code given in vercel documentation. Client token is being generated successfully but the upload fails with 403.
Im using:
"next": "^13.5.2",
"@vercel/blob": "^0.14.1",
The text was updated successfully, but these errors were encountered: