Skip to content

Cannot upload blobs : credentials 404 error #562

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

Open
lviardcretat opened this issue May 2, 2025 · 0 comments
Open

Cannot upload blobs : credentials 404 error #562

lviardcretat opened this issue May 2, 2025 · 0 comments

Comments

@lviardcretat
Copy link

Hi,
on this project I'm developing a component for uploading images using nuxthub and cloudflare presigned urls.
Here is the view file and the route api to get the url

When I try to upload locally with a --remote, I get this error :

ℹ Error: [POST] ‘https://projectName.nuxt.dev/api/_hub/blob/credentials’: 404 Not Found
await blob.createCredentials({...})

On the nuxt dev side, I get this error :

{
    ‘message‘:’[POST] \‘https://admin.hub.nuxt.com/api/projects//blob/production/credentials’: 404 Server Error’,
    ‘statusCode":404,
    ‘statusMessage": “Server Error”,
    ‘data":{
        ‘error":true,
        ‘url": “https://admin.hub.nuxt.com/api/projects//blob/production/credentials”,
        ‘statusCode":404,
        ‘statusMessage": “Server Error”,
        ‘message": ’Project not found’
    }
}

I don't know what I've done wrong
when I launch the project on the local side, I have the blobs activated:

ℹ Linked to https://admin.hub.nuxt.com/name/projectName                                                                                                               
ℹ Using production environment                                                                                  
ℹ Using remote storage from https://projectName.nuxt.dev                                                                                                         
ℹ Remote storage available: database, blob  

and on the nuxt config side I have activated them and they have been deployed:

	hub: {
		database: true,
		blob: true,
	},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant