In some cases you might run into an issue where when trying to copy databases between environments, enabling or disabling production mode that you get an error that says the following:
An unknown error occurred. Please try your request again. If the problem persists, contact Acquia Support. Request ID:
If this started after a recent environment was provisioned (such as Remote Administration) this may be because the WELCOME tag is no longer available in your Acquia Git Repository.
To correct this issue you can run the following commands in your local repository and then push to Acquia Cloud.
git tag WELCOME $(git rev-list --max-parents=0 master) git push --tags
This will create the WELCOME tag for the first commit in the history of your repository.