{//% unless portal.user.is_agent %} Tickets
Welcome
Login Submit a Ticket News {//% endunless %}

Why is my API request causing a 400 error code to be returned?

Impacted product version: all

 

1. Introduction

When using API service (SOAP or REST), I get an error code '400' after submittal of my request.

 

2. Detailed explanation


There are several reasons that may cause this error to be returned.

Check the ones hereunder and the proposed solution :


  • Schema validation error

à Check if your request implements correctly the schemas

à Connect to the service homepage for schemas definition documentation


  • Message size exceeds 2MB

à Check your message size (a third party tool like Postman or SoapUI may help)


  • Message is out of validation constraints (limits in the number of routes and waypoints that can be submitted)

à Check that your message does not contains more than 200 waypoints

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.