Loader backend fails for project uNJepqX5kmDcUn9dDb3UVD.

Published endpoint redirects successfully:

https://codegen.plasmic.app/api/v1/loader/code/published?platform=nextjs&projectId=uNJepqX5kmDcUn9dDb3UVD

Redirect target fails:

https://codegen.plasmic.app/api/v1/loader/code/versioned?cb=20&platform=nextjs&loaderVersion=10&projectId=uNJepqX5kmDcUn9dDb3UVD%401.0.0

Response:
499 Unknown
text/plain
Upstream responded with 500 / Request to upstream failed in another process

Also fails:

  • platform=react
  • skipHead=true
  • browserOnly=true
  • preview endpoint on codegen-origin

But @plasmicapp/cli sync succeeds for the same project/token.

Hi @brian_fernstrom , I saw your project has some images with URLs like /assets/ui/background.png. Could you confirm these are real images on your app host? And did you add these via AI?

We have shipped a change for this that should fix this issue for you. Relative image URLs like /assets/ui/background.png should now work correctly in loader.