GitHub integration - "You cannot change "options.enabledDatabaseCustomization"" error when not changing that setting

I recently enabled github integration so my configuration is version controlled in github. But now in deployments to one of my tenants I consistently see the error message:

APIError: {“statusCode”:400,“error”:“Bad Request”,“message”:“This database contains XXXX users. You cannot change “options.enabledDatabaseCustomization” setting.”,“errorCode”:“operation_not_supported”}

This seems clear enough, so I first I tried looking at the database.json file and changing the value from false to true, but I still get the same error message. It seems like “false” (what I had originally) is the correct value, so I change it back and check it in - again the same error message. Finally, I use ‘a0deploy export’ to get the current configuration and check in exactly that file, but I still get the same error. What’s going on?

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?