JS Server Code "Model Descriptor Not Found" when deployed to production

I have two handlers when creating users—beforeRegister and afterRegister—that work fine when I run in debugging mode, however when I try to deploy to production, I get the following error message: “Model Descriptor not found (/var/lib/backendless/repo/…/files/servercode/JS/v1/model.json)”. Any ideas? Thanks for the help!

Hi!
Could you create new app and to repeat the same steps again?
It will help us to locate a problem.

Hi Kate, thanks for your response. I recreate a new app with a similar (albeit simpler) registration flow, and this new app doesn’t have the same issue: registration completes with its call to beforeRegister both in debug and production without any problems.

ok, please add here application id of app with descriptor problem.

Thank you. I copied app id and deleted it from support forum (due to security reasons).

Hi Kate, are there any updates on the resolution of this issue? Thanks!

It should be fixed now. Please try it and let us know the results

Thanks!

That fixed the issue. Thanks for your help!