Next.js Discord

Discord Forum

404: Deployment not found

Unanswered
Sokoke posted this in #help-forum
Open in Discord
SokokeOP
POST https://api.vercel.com/v13/deployments
Payload = {
"name": "aimusic-suno",
"deploymentId": "aimusic-suno-ralghrsng-techtics-projects.vercel.app"
}
Response = {
"error": {
"code": "deployment_not_found",
"message": "Deployment not found"
}
}
and i have also provided the beraer token but i cant redeploy the deployment
i have also tried this payload = {
"name": "aimusic-suno",
"customEnvironmentSlugOrId": "production",
"deploymentId": "aimusic-suno-ralghrsng-techtics-projects.vercel.app"
} as well

10 Replies

@Sokoke POST https://api.vercel.com/v13/deployments Payload = { "name": "aimusic-suno", "deploymentId": "aimusic-suno-ralghrsng-techtics-projects.vercel.app" } Response = { "error": { "code": "deployment_not_found", "message": "Deployment not found" } } and i have also provided the beraer token but i cant redeploy the deployment i have also tried this payload = { "name": "aimusic-suno", "customEnvironmentSlugOrId": "production", "deploymentId": "aimusic-suno-ralghrsng-techtics-projects.vercel.app" } as well
the deployment id looks a bit different. It should look like this: (see attached). If you just need to redeploy it, you can also do that directly via your vercel dashboard (see attached)
@Sokoke i want to redeploy via vercel api
Yea, then as said: use the correct deployment id
@B33fb0n3 Yea, then as said: use the correct deployment id
SokokeOP
if you see my "deploymentId": "aimusic-suno-ralghrsng-techtics-projects.vercel.app"
I also try using this
"deploymentId": "ralghrsng"
lemme know if I'm using the wrong one or how to get deploymentId
@Sokoke if you see my "deploymentId": "aimusic-suno-ralghrsng-techtics-projects.vercel.app" I also try using this "deploymentId": "ralghrsng" lemme know if I'm using the wrong one or how to get deploymentId
... or how to get deploymentId
You can get your deploymentid by entering the vercel dashboard, click your project and then on the top "deployments". There you can see your recent deployments. Then check the part that I screenshotted and use it as deploymentid
SokokeOP
I have fixed my issue thanks for your help but the deployment id you mentioned is not that you have mentioned
@Sokoke I have fixed my issue thanks for your help but the deployment id you mentioned is not that you have mentioned
How did you fixed it? Can you provide the solution to help other people as well?