Closed ZloeSabo closed 4 years ago
I believe this is causing my image uploads to break. I have an automated function in Azure and it's very difficult to determine which images failed or not, so I have to reprocess the images... causing me to waste bandwidth.
I forked this branch and am using my own build and I'm still running into issues periodically when trying to resize image sets. The error I get is "(Unexpected character encountered while parsing value: <. Path '', line 0, position 0.)".
Thanks for reporting the issues, I will merge this PR based on the test results. @ajtatum sounds like it tries to parse HTML instead of a JSON response, maybe the API is returning a 500 error. Let me see if it's possible to expose the response in a better way in order to understand and debug the problem.
@Kevin-Bronsdijk thanks. I really like Kraken and it's pretty much the only one that has a nice .NET SDK.
Description
Currently the optimize functionality is broken, because the api server requires passing credentials and other parameters in a "data" field. This change sets the field name, which fixes the issue.
Steps to Test or Reproduce
Checked upload with the old and with the new logic.
The client code I've used:
Todos