Forum PLUCHON.COM

Le forum du support des applications.

Vous n'êtes pas identifié(e).

#1 2018-03-17 14:29:11

hirgelbirgel
Membre
Inscription : 2018-03-17
Messages : 1

JSON error during startup

Hey,

i get the following error message during initialisiation of the app:

"JSON could not be serialized because of error:
The data could not be read because they do not have the correct format."

and no feeds have been loaded. The app has already been working with a former instance of Tiny Tiny RSS and the web version is working like a charm. The API is activated and i followed the instructions specified here. I already tried to reinstall the app but without effect.  My Tiny Tiny RSS instance is running on a Raspberry Pi 3 (Raspian Buster) on top of FreedomBox and i am using iOS 11.2.6. Maybe someone has an idea to solve this problem.

Greetings

Hors ligne

#2 2018-03-17 19:39:58

Pascal
Administrateur
Inscription : 2010-12-03
Messages : 123

Re : JSON error during startup

Try to connect from your browser to
https://yourttrssserver/api

Your browser should display
{"seq":null,"status":1,"content":{"error":"NOT_LOGGED_IN"}}

If this is not the case, then there’s something wrong with your ttrss api.


    cool      Pascal

Hors ligne

#3 2018-03-25 08:58:10

arndt
Membre
Inscription : 2018-03-25
Messages : 4

Re : JSON error during startup

Same JSON error.

https://ttrss.info/api/
{"seq":null,"status":1,"content":{"error":"NOT_LOGGED_IN"}}


API works with the app "TTRSS Reader 2" version 2.3.

Dernière modification par arndt (2018-03-25 09:00:55)

Hors ligne

#4 2018-03-25 09:08:25

Pascal
Administrateur
Inscription : 2010-12-03
Messages : 123

Re : JSON error during startup

Can you give me a temporary access to your ttrss server for testing ?


    cool      Pascal

Hors ligne

#5 2018-03-25 09:54:17

arndt
Membre
Inscription : 2018-03-25
Messages : 4

Re : JSON error during startup

Sure, i will send you the login  smile

Hors ligne

#6 2018-03-25 10:01:51

arndt
Membre
Inscription : 2018-03-25
Messages : 4

Re : JSON error during startup

What is your email address?


Did you change the user agent with the last update?

Dernière modification par arndt (2018-03-25 10:09:08)

Hors ligne

#7 2018-03-25 10:51:49

Pascal
Administrateur
Inscription : 2010-12-03
Messages : 123

Re : JSON error during startup

arndt a écrit :

What is your email address?

pascal @ thiswebsitedomain

Did you change the user agent with the last update?

I rewrote the app in Swift, so I changed the network framework from AFNetworking to Alamofire, and the default user-agent has probably changed.


    cool      Pascal

Hors ligne

#8 2018-03-25 11:56:09

arndt
Membre
Inscription : 2018-03-25
Messages : 4

Re : JSON error during startup

It was the user agent. My side admin unblocked it and now everything works. Thank you!

Hors ligne

Pied de page des forums