Nessun risultato
Non ci sono oggetti corrispondenti alla tua ricerca... Controlla che l'ortografia delle parole sia corretta o espandi la ricerca per ottenere risultati!
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.
Questo argomento è datato oltre 6 mesi, non è più possibile rispondere.
Impostazioni dei cookie
Informazioni sui cookie
Il nostro sito utilizza i cookie per le seguenti finalità: fornirvi i servizi che avete richiesto, garantire la sicurezza della nostra piattaforma, ricordare le vostre preferenze per rendere più piacevole la vostra navigazione, compilare statistiche per adattare il nostro sito alle vostre esigenze, visualizzare video e permettervi di condividere contenuti sui social network.
Alcuni di questi cookie sono necessari per il funzionamento del nostro sito, altri possono essere impostati secondo le vostre preferenze.
Per saperne di più