Hi!, I get the follow error message when try to update a file in the repository:
github.GithubException.GithubException: 422 {"message": "Invalid request.\n\n"sha" wasn't supplied.", "documentation_url": "https://docs.github.com/rest/reference/repos#create-or-update-file-contents"}.
I attach a screenshot of the code

.
Hi!, I get the follow error message when try to update a file in the repository:

github.GithubException.GithubException: 422 {"message": "Invalid request.\n\n"sha" wasn't supplied.", "documentation_url": "https://docs.github.com/rest/reference/repos#create-or-update-file-contents"}.
I attach a screenshot of the code
.