Inquiry regarding temporary "App is disabled" error during Builder API deployment
-
We are looking to identify the cause of an "App is disabled." error.
We recently noticed this error logged temporarily in our live service. We want to clarify that we did not explicitly change the app's enable/disable settings at any point.
However, we found that the exact timing of these error logs coincided with when we were deploying to the target app via the Builder API.
We would like to know: is this temporary "disabled" state a known or expected behavior while a deployment is in progress via the Builder API?
Thank you!
-
Hi @moondory77 ,
Yes, you observed correctly.
During the data migration portion of the deployment (which occurs after the system has done a bunch of validation and consistency checks), the system temporarily disables your app to do the actual data migration.
This is to protect the data integrity of your app - as your app's metadata, reference data and cloud code scripts are all changing underneath it. So we disable the app, make the changes, and re-enable the app.
All of this normally takes just a few seconds - though it does depend upon the number of changes being made.
I hope that helps to clarify things!
Paul.