-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 error when committing changes to an organization github repo #758
Comments
This could be related to the merge of (#711) today, but I'm not able to reproduce this issue locally. What I'm doing is:
That worked for me. Could you maybe send the (redacted) request body/url? Maybe we are missing a case. |
Maybe the difference is that the fork you are creating is tied to a sandbox linked to a personal repository and in my case the sandbox is linked to an organization repository. Here's the info of the request/response info: Request:
Response:
|
I don't know if the merge you referred to has already been deployed, but I just tested it again (after making a hard refresh) and it's still not working. Still, thanks for your hard work! 😀 |
I added a description to the commit and it still gave the same error. |
This is super good information @MiguelAraCo, we indeed need to add an extra check whether the user is part of the given organization. I'll give a closer look at it this week. |
Any update on this? 👀 Is it something that can be fixed on the open source part of the codesandbox codebase? If so, if you could point me on the right direction, I may be able to contribute with a PR :). |
I'm having the same problem :( |
I'm able to commit to my personal repo, unable to commit to my organization. |
@CompuIves , happy to help with this issue, but I assume it's a check on the server. Do you have it open-sourced? |
Any update on this one, guys? |
I am still having the same issue, it works for a personal account but not for an organization even when you are the owner of the organization. |
We are facing a similar issue. Our sandbox is https://codesandbox.io/s/charming-tu-qqwnk. Every commit fails with the status 422 and the response has JSON message
This is frustrating. |
Hi there and sorry for not being as responsive as we want on this. It turns out that all you need is to give access. Note! it can take a few minutes for this to trigger. |
Btw, we are improving the experience here with: #4801 , also updating the docs with information on the issue above 😄 |
Steps to reproduce:
Expected behavior
Loading modal appears and after a couple of seconds confirms that the commit was successful (or not).
Actual behavior
Debug information
Network request:
The
POST
request done by codesandbox.io receives the following response:The text was updated successfully, but these errors were encountered: