Skip to content
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

How can I solve picgo error 422? #6050

Closed
gihyeonjeon opened this issue May 14, 2024 · 2 comments
Closed

How can I solve picgo error 422? #6050

gihyeonjeon opened this issue May 14, 2024 · 2 comments

Comments

@gihyeonjeon
Copy link

Hi!

I'm using the automatic upload function in typora.

But I got this error message.

fail to parse result image path from: [PicGo INFO]: Before transform [PicGo INFO]: Transforming... [PicGo INFO]: Before upload [PicGo INFO]: Uploading... [PicGo WARN]: failed [PicGo ERROR]: StatusCodeError: 422 - {"message":"Invalid request.\n\n\"sha\" wasn't supplied.","documentation_url":"https://docs.github.com/rest/repos/contents#create-or-update-file-contents"}

I know that this problem is occurred because the same file is already uploaded in github.

I wonder if the only solution is to modify the file name.

Thanks for your helps..

@abnerlee
Copy link
Contributor

This is an error reported by PicGo not Typora.

See Molunerfinn/PicGo#569

@gihyeonjeon
Copy link
Author

Thanks!

So you mean that there is no special solution, but just recommend to use different file name right?

I'm not sure about that link because I'm not chinese !...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants