Aucun résultat
Il n'y a pas d'objets correspondant à votre recherche... Vérifiez que l'orthographe des mots est correcte ou élargissez votre recherche pour obtenir des résultats !
Hello,
I set up notifications, but the notifications send empty POST data, only the GET data (the token) is sent. Any clues what the problem is?
Thanks
Hello,
I set up notifications, but the notifications send empty POST data, only the GET data (the token) is sent. Any clues what the problem is?
Thanks
You're right for this support_api@delcampe.com
: it was missing after a system migration; thank you for reporting.
I can see on our side that your server replies with 500 status / "Internal server error".
We have a new endpoint (still undocumented) that allows you to investigate how we see your response to our callbacks, from Delcampe servers point of view.
Call this API endpoint with your session token (i removed the host part to avoid the automatic rewriting of the link):
/notification/logs?token=your_token
You can also filter on date and errors using the query string parameters as in this example:
As for the 500 status / "Internal server error", that was already fixed a few days ago, but still no POST data. Is there also a log where I can see the xml sent to my endpoint?
As for the 500 status / "Internal server error", that was already fixed a few days ago, but still no POST data. Is there also a log where I can see the xml sent to my endpoint?
It looks like you have a configuration error on your webserver. When we investigate our logs, we see that our initial callback is a POST but your webserver served us a 301 response and rewrote it as a GET
We will change our code to handle the redirects more strictly (if the original request was a POST, the following redirects will be POST as well) but you have to change your nginx/apache vhost to prevent this 301 redirection
Thanks. That fixed the problem. Sorry my mistake. Maybe before the system accepts a new notification URL it can check if there's a redirect or not. If yes refuse to add the notification and tell us why. Would have saved me a few hours of finding the problem. Just an idea, not sure how easy it is to implement.
Ce sujet datant de plus de 6 mois, il n'est plus possible d'y répondre.
Paramètres des cookies
Information concernant les cookies
Notre site utilise des cookies pour les finalités suivantes : vous fournir les services demandés, assurer la sécurité sur notre plateforme, garder en mémoire vos préférences afin de rendre votre navigation plus agréable, réaliser des statistiques dans le but d’adapter notre site à vos besoins, afficher des vidéos et vous permettre de partager du contenu sur les réseaux sociaux.
Certains de ces cookies sont nécessaires au fonctionnement de notre site, d’autres peuvent être paramétrés selon vos préférences.
En savoir plus