The data couldn't be read because it isn't in the correct format.

I'm getting this error inside an iOS app which is connected to the nginx server, and it is preventing users from accessing the service. After rebooting the server a few times, it goes away by itself, then comes back a few days later. What could be causing this. I researched all possible solutions online and it seems to the related to the use of "\n" in a string at times, but I don't have such issues with my code. Thanks for your your help.

1 Reply

Hey @ra, it's tough to understand the issue you're having without any related error messages, log file entries, or code. To help us help you, could you share more information about this problem? There are several useful tips in this post on Asking Better Questions.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct