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

Create pin api is failing #29

Closed
leventeolahx opened this issue Mar 9, 2020 · 2 comments
Closed

Create pin api is failing #29

leventeolahx opened this issue Mar 9, 2020 · 2 comments

Comments

@leventeolahx
Copy link

CreatePinAsync fails most of the times with an error message: "Unexpected character encountered while parsing value: \u001f. Path '', line 0, position 0."

However the post is published.

I could not managed to find a clearly way how to reproduce it. A specific request just simply fails in one time but in the next try works again.

I was debugging it and seems that the response has a wrong encoding.

@imjustalf
Copy link

I'm also seeing this issue as of this morning. Similar behavior, api gives an error but the pin is created.

@Krusen Krusen closed this as completed in b63c5a0 Mar 11, 2020
@Krusen
Copy link
Owner

Krusen commented Mar 11, 2020

Seems like Pinterest decided to Gzip at least some of the responses, which the HttpClient doesn't decompress by default.

It should be fixed in v2.3.3 - available on NuGet shortly.

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

3 participants