Failure to deploy changes via UI when using GitHub automatic deployment

I have a Realm app successfully setup on github such that whenever I make changes locally and commit/push them, they get deployed automatically to Realm.

When I try to make changes through the web UI, a draft is created and I can attempt to deploy and push the changes to github.

When I attempt to do that I get an error that says “Failed to Deploy: error processing request”.

The deploy api endpoint (…/deploy/github/push) that gets called when I click on deploy returns a status code 500 with the error message being “error processing request” and “InternalServerError”.

Any help or ideas would be appreciated!

Hi Charlie,

Thanks for posting and welcome to the community!

How often does this happen and is it consistently occurring?

In the screenshot it appears you’re changing a value, does the error happen on any other types of changes?

If you can, it would be best to raise a support case for this as we will need more context about your app to investigate.

Regards

1 Like

Thank you for the reply!

It happens pretty consistently, or at least when it does, the only way I’ve found to fix it is to create a new Realm project.

It also happens not only for changing values, but everything else.

I don’t think I can raise a support case because I’m on the free version, so when I go to https://support.mongodb.com/welcome and login I get a status 500 error.

I’d be happy to write down all of my steps to reproduce and describe my project setup if that would help.

Hi Charlie,

Yes please outline the steps you’re taking and provide your apps hexadecimal Id the error is happening on.

Same here but the error is Unauthorized access despite the fact I installed and granted authorization to the github app. It gets weird to know that pushes from the repository to the realm app using the GH app worked well. The problem is only when going backwards, on changes from the Realm App UI itself.

I made a ticket for this.