s0hv / rust-imgur-upload

Rust imgur uploader for use with the Discord Rich Presence foobar2000 plugin
MIT License
28 stars 1 forks source link

artwork uploader exited with status: 1 and error: Error while parsing imgur response: error decoding response body: missing field `link` at line 1 column 177 #1

Open Fuffley opened 1 year ago

Fuffley commented 1 year ago

This occurs with some albums. Some work, some don't.

s0hv commented 1 year ago

Does it happen always for the same albums or is it completely random?

Fuffley commented 1 year ago

It appears to be random, I am not sure. Using the python method worked.

s0hv commented 1 year ago

I created a new release that should print the whole response imgur gives when parsing fails. Could you upgrade your script to that and report what the response looks like when this error happens. The imgur API docs don't document error cases well so it's more difficult to know how to handle those without seeing them first.