-
Notifications
You must be signed in to change notification settings - Fork 7
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
Submission App Error #277
Comments
It would be good to have a complete stack trace of this error - to know where exactly it happens |
There is no stack trace of the error in the Terminal, I can only see this error in the Submission App. _You can now view your Streamlit app in your browser. Local URL: http://localhost:8501 Adding nfdi4bioimage.yml_ |
I now created a fine-grained token and used this, now I have a different error: Failed to update YAML file and create pull request: 403 {"message": "Resource not accessible by personal access token", "documentation_url": "https://docs.github.com/rest/git/refs#create-a-reference", "status": "403"} In the Terminal it now says: |
What I found about the 403 and 404 statuses is related to the API token set issue. Make sure that the GitHub personal access token you are using has the required permissions for the repository: repo. Make sure that the user associated with the token has write or maintain permissions on the repository: repo. The "workflow" also requires. These links may be useful for you: https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api?apiVersion=2022-11-28 |
@haesleinhuepf I tried several things again. Commenting the block out did not change the fact that I can't see the error messages in the terminal.. I also tried to add some debugging print statements in the code and it seems like it fails at the point where it should update the file ( training/scripts/appsubmitter.py Line 82 in af8b784
|
Turned out I just did not have writing access to the repository already. It worked now!! @haesleinhuepf |
failed to update YAML file and create pull request: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/git/refs#create-a-reference", "status": "404"}
I tried to submit something via the Submission app and got this error.
The text was updated successfully, but these errors were encountered: