Skip to content
xYnta
Go to websitexynta.com
Search
EN

Troubleshooting an API call

Updated on

We log every call that reaches our API. In Mijn xYnta, you see your latest 250 calls, with the response and the status code. This shows you why a call did not do what you expected.

  1. Log in to Mijn xYnta

    Log in to Mijn xYnta with your email address and password.

  2. Open the API settings

    Click MIJN ACCOUNT (My account) at the top, then API.

  3. View the log entries

    Under Logregels overzicht (Log entries overview), you see your latest 250 calls. Open an entry to see the details.

What a log entry shows

  • the time at which the call was executed;
  • the IP address the call came from;
  • the response of the API, as JSON and as a PHP array;
  • the status code of the response (what each code means is in the API reference);
  • whether the call was executed in test mode.
Not working?
  • Is the API enabled? As long as Ik wil toegang tot de API vanaf mijn klantaccount inschakelen (I want to enable API access for my customer account) is unticked, the API refuses every request, even from an IP address on your whitelist.
  • Is your server's IP address listed under IP-adres Whitelist (IP address whitelist), and is it set to Ingeschakeld (Enabled)?
  • Does your server connect via IPv6? The whitelist only accepts IPv4 addresses.
  • Are you using the IPHash that belongs to that IP address? Each IP address on the whitelist has its own code.

See also Connecting to the API for the first time.

Video

Troubleshooting an API callYouTube

Related articles