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

Error: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. #11

Open
othello777 opened this issue May 4, 2023 · 0 comments

Comments

@othello777
Copy link

I pasted my session_id (not sure if that's correct) and also tried not putting anything for the token, but nothing worked. the link I pasted was to the /posts page as I want to bulk download all content

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
   at bool Newtonsoft.Json.JsonTextReader.ParseValue()
   at bool Newtonsoft.Json.JsonReader.ReadAndMoveToContent()
   at bool Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, bool hasConverter)
   at object Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, bool checkAdditionalContent)
   at object Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at object Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at object Newtonsoft.Json.JsonConvert.DeserializeObject(string value, Type type, JsonSerializerSettings settings)
   at T Newtonsoft.Json.JsonConvert.DeserializeObject<T>(string value, JsonSerializerSettings settings)
   at void PatreonDownloader.Program.DownloadAllPosts(HttpClient client, List<PostPage> pages, string backupFile) in /mnt/data/Development/PatreonDownloader/PatreonDownloader/Program.cs:line 233
   at void PatreonDownloader.Program.Main(string[] args) in /mnt/data/Development/PatreonDownloader/PatreonDownloader/Program.cs:line 116
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

1 participant