Troubleshooting

Here is what to do if you are running into trouble when integrating with the Skovik API.

Verify with a request bin

A common problem when integrating with an API is that you aren't sending the data you think you're sending. This is easy to investigate though.

  1. Create a "Request Bin" at hookbin.com, beeceptor.com or a similar service. This service will catch HTTP requests and show you what you've sent.

  2. Use a tool such as Postman or Insomnia to create your request. Send the request to your Request Bin.

  3. Check your bin and see if you sent what you think you sent.

  4. Repeat the steps above, but with your actual code, i.e. the HTTP client or library that you'll be using with your integration, to send production data to Skovik. But keep the endpoint modified (still pointing to the request bin). Check again that your code is actually sending the data you expected.

When doing this, check for these common mistakes:

  • How was the body structured (in the case of POST/PUT/PATCH)? Make sure it was correctly formatted JSON.
  • Did you include all the relevant headers with your request?
  • What HTTP status code are you getting back from us? 4xx usually indicates an error with the data you sent us, whereas 5xx tends to be an issue on our end.