Report any technical problems you discover and discuss solutions.

xApi not working anymore

Plus d'informations
il y a 6 ans 11 mois #5919 par viragom
Réponse de viragom sur le sujet xApi not working anymore
Hi Tom

it's weird isn't it??

I can see from your log that the [content_type] is json.

In my debug.log the content_type is empty than i get a http erro 400
with an http error of 429 it is always [content_type] text/html;charset=utf-8

Can it be that the missing content_type causes the failure of the statements?

Greetz Joep

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 11 mois #5920 par tom
Réponse de tom sur le sujet xApi not working anymore
That's weird indeed.

What version of Xerte are you running exactly, so I can try to replicate with the same exact version?

Browse to <xerteurl>/version.txt

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 11 mois - il y a 6 ans 11 mois #5921 par viragom
Réponse de viragom sur le sujet xApi not working anymore
It says: X (3.7) - installed from github

But I downloaded the X 3.7.14 version and put those files over my old installation (which was the version of jan 10 2019)
Dernière édition: il y a 6 ans 11 mois par viragom.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 11 mois #5922 par tom
Réponse de tom sur le sujet xApi not working anymore
I have retried with vesion 3.7.14, and with 3.7.14 plus the latest xapi_proxy.php

Both work. Both mention application/json.

I simply don't know anymore. Do you have a proxy server somewhere in between?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 11 mois #5923 par viragom
Réponse de viragom sur le sujet xApi not working anymore
It's a tough one this problem. Especially because the LOs used to work...
I think we are on the right track solving it though...

I tried Watershed as LRS and in the error logs I got these errors, seems it has something to do with the provided json....

"Did you forget to add a X-Experience-API-Version header to your request? Requests without a version header are treated as v0.9. Version 0.9 of the object with name 'statement' could not be created from the provided JSON. Error message: Can not deserialize instance of 'AgentAccount' out of START_OBJECT token
at [Source: N/A; line: -1, column: -1] (in property "account":) at line: 1, column: 117 (in property "actor":) "

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 6 ans 10 mois #5924 par tom
Réponse de tom sur le sujet xApi not working anymore
I added an extra debug line, to put the request headers in the log file. Look for a line with Headers: in it.

Fichier attaché :

Nom du fichier : xapi_proxy.zip
Taille du ficher :5 Ko
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.530 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo