Hitting 500 error from the codegen endpoint

Hitting 500 error from the codegen endpoint

Thanks for the report! I think it should work now, but we’re looking into it

Still hitting it unfortunately

same

> Build error occurred
FetchError: invalid json response body at <https://codegen.plasmic.app/api/v1/loader/code/versioned?cb=5&platform=nextjs&loaderVersion=2&projectId=...TR%401.0.0> reason: Unexpected token < in JSON at position 0
    at ..node_modules/node-fetch/lib/index.js:272:32
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  type: 'invalid-json'
}

Could you send me the project IDs? Thanks!

sent in DM

We are deploying a fix

Should now be resolved; sorry about that :pensive:

out of curiosity, what’s the short-form post-mortem?

We updated our data model schema. Usually there is a background migration that happens that incrementally performs the schema upgrade, though due to a configuration error that failed to run. We also perform live migration for data requests that happen before background migration is finished; the live migration was causing the 500 because some of the forked processes of our express server were not able to find the proper database configuration.

We’ve added some new live monitoring to catch issues like the above

:thumbsup: thank you!

working for us again!

thanks