Just a normal deploy after creating a new project results into not being able to deploy to custom domain.
Repro steps:
- Create new project
- Choose template - Professional services
- Choose NextJS
- Configure custom domain
- Publish
Result:
Save a new version:
Successfully saved Vesna’s web page v1.0.2!
Pushed updates to CDN cache!
Publish to Plasmic Hosting
Deployed to vesnamalinova.plasmic.run
Failed deploy to v2.vesnamalinova.com: Unable to call /api/revalidate.
v2.vesnamalinov.com shows
404: NOT_FOUND
Code: DEPLOYMENT_NOT_FOUND
Dev tools:
Request of interest - https://studio.plasmic.app/api/v1/revalidate-hosting
Payload:
projectId: “sZaKH4irD9a3r8VoQ35nJS”
Response:
{
"successes": [
{
"domain": "vesnamalinova.plasmic.run"
}
],
"failures": [
{
"domain": "v2.vesnamalinova.com",
"error": {
"type": "Invalid JSON response"
}
}
]
}
Relevant links
- Plasmic project
- Similar issues, but no resolution:
- Unable to deploy to Plasmic hosting - Plasmic Studio Questions - Plasmic Community
- Unable to deploy project to custom domain - Plasmic Studio Questions - Plasmic Community
- Deploy failed on non-www domain - Issues - Plasmic Community
- Failed to Publish / Deploy to Plasmic Hosting - Issues - Plasmic Community
@jason any help would be greatly appreciated here ![]()