Ningún resultado
No hay artículos que coincidan con su búsqueda... ¡Compruebe que la ortografía de las palabras es correcta o amplíe su búsqueda para obtener resultados!
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.
Este tema ha sido creado hace más de 6 meses, ya no puede responderle.
Configuración de las cookies
Información sobre las cookies
Nuestra web utiliza cookies con los siguientes fines: prestarle los servicios que nos haya solicitado, garantizar la seguridad de nuestra plataforma, recordar sus preferencias para hacer más agradable su navegación, elaborar estadísticas para adaptar nuestra web a sus necesidades, mostrar vídeos y permitirle compartir contenidos en las redes sociales.
Algunas de estas cookies son necesarias para el funcionamiento de nuestro sitio web, otras pueden establecerse según sus preferencias.
Más información