"An error occurred while pushing changes" when deploying from v0

Hi, I am trying to deploy my v0 app (was working okay 5 days ago), but now I am unable to deploy. I get the error “An error occurred while pushing changes” when clicking on deploy. I also can’t push changes to github. If I check in the network section, I get “error” : “38”.

The project/chat id is “muro-sushi-v1-GxczFvG7OQ6”. I am trying to deploy v110 without success.

Please help, thanks :slight_smile:

2 Likes

Hi, Ian! Welcome to the Vercel Community :waving_hand:

Have you tried forking the chat and deploying that?

In the past, I’ve seen this issue myself and it ended up being a code error (didn’t have any environment variables specified) Can you check that too?

Hi Pauline. I haven’t tried forking and deploying. I will try that.

Regarding the code error, I don’t think that’s it because now I am not being able even to redeploy the last deployed version. I think it’s a git error.

I will try forking, in the meanwhile can we escalate this to the dev team to check if they can check the project id and see if there is any obvious error?

Thanks for the fast response!

Hey Pauline, just tried forking and deploying and wasn’t able to do that either. This is really weird.

The only thing I did before it stopped working, was adding a test environment to another project. I don’t know how that could have broke this, but I think maybe something in github got messed up. Whenever I try deploying, or pushing changes to Github (from v0) I get an internal server error in the following api call “https://v0.dev/chat/api/git/push” with the response being “{“error”:“38”}”

I’ve passed this along to the v0 team for further debugging, I can’t see any hints in the logs about this one

If it does happen to be a Git related issue (which seems likely) you may be able to deploy anyway by unlinking your project from git and then hitting deploy, which should bypass any git errors

Another thing to try is to sync it to a new repo, in case the conflict is that the repo was updated externally and v0 didn’t sync properly and can’t cleanly push to it

Hopefully either of those can unblock you while we dig into this

1 Like

I have similar problem after adding a custom domain to vercel project that is based on my v0. I can’t deploy any changes right now and receive “An error occurred while pushing changes” when clicking on deploy.

This worked. I unlinked the project from Github and was able to deploy. Not a good solution though, because I would like the project to sync with Github, but at least I was able to deploy new versions.

Thanks for confirming, that helps narrow down the cause. I’ll post back here when this is fixed

I have been encountering the same issue today. Disabling git indeed fixes the issue but I would like to keep my github project synced to my v0 changes.
Note that I have tried to uninstalling and reinstalling vercel from github, and I’ve also tried to link my vercel project to another github repo but none of these solutions worked.