FreightMaster API errors: every code, its cause and what to do

Every error returned by the API is an RFC 9457 object with a stable code; a response in another format comes from the hosting platform. This page explains each code and what to do. Example: booking_not_allowed: the account pays by card; quoting stays possible, booking does not.

API documentationError codes, field codes, notices and refusals

On this page

The format of an error

An error responds with an HTTP 4xx or 5xx status and an application/problem+json body in the RFC 9457 format. Your software reads code: it is stable, whereas the text of detail may be reworded.

  • type: the URL of this code's entry on the French version of this page, for example https://freightmaster.fr/api/erreurs#validation_failed. This English page uses the same anchors: /api/en/errors#validation_failed.
  • title and status: the name and number of the HTTP status.
  • code: the error code, in snake_case.
  • detail: the explanation, in French, or in English with the Accept-Language: en header. This page gives the English text of each code.
  • errors: for validation_failed and shipment_outside_limits, one object per faulty field: field, code, message, and earliest for a refused pickup date.
  • request_id: the ID of the request, also returned in the X-Request-Id header of every response from the API (not of refusals by the hosting platform). Give it if you contact support.
  • Depending on the code, one more field (earliest_pickup_date for pickup_date_not_allowed) and headers: Retry-After (429, 503, label_not_ready), WWW-Authenticate (401).

A real example, recorded on the sandbox on 7 November 2026 with the test key of a test account: a quote request with four defects, sent with Accept-Language: en.

Request
POST /api/v1/quotes
Authorization: Bearer fm_test_…
Content-Type: application/json
Accept-Language: en

{
  "origin": { "country": "FR", "postal_code": "590" },
  "destination": { "country": "FR", "postal_code": "69003" },
  "pallets": [
    { "quantity": 8, "length_cm": 120, "width_cm": 80, "height_cm": 150 }
  ],
  "colour": "bleu"
}
Response
HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json; charset=utf-8
X-Request-Id: req_7d4579f614c38ba5

{
  "type": "https://freightmaster.fr/api/erreurs#validation_failed",
  "title": "Unprocessable Content",
  "status": 422,
  "code": "validation_failed",
  "detail": "The request contains errors.",
  "errors": [
    { "field": "colour", "code": "unknown_field", "message": "Unknown field." },
    { "field": "origin.postal_code", "code": "postal_code_invalid", "message": "Invalid postal code for this country (full code expected)." },
    { "field": "pallets[0].quantity", "code": "invalid_quantity", "message": "Integer quantity from 1 to 6 expected." },
    { "field": "pallets[0].weight_kg", "code": "required", "message": "Required field." }
  ],
  "request_id": "req_7d4579f614c38ba5"
}

What to do depending on the HTTP status

The status tells you whether retrying is any use. 4xx errors do not go away by retrying, except quotas (429) and a label not yet attached (409 label_not_ready).

StatusWhat it meansRetry?
400Malformed request (JSON, Idempotency-Key header)No, correct the request
401Key missing, malformed or revokedNo
403Account or key not authorised for this actionNo
404Resource, quote, offer or shipment not foundNo
405HTTP method not provided for this resourceNo
409State conflict: label not ready, cancellation impossible, idempotency key already taken, offer no longer availableYes for label_not_ready, after Retry-After; otherwise no
410Quote expiredNo, new quote
413Body larger than 64 KBNo
415Body without a JSON Content-TypeNo
422Invalid fields, shipment outside the gauge, offer not bookableNo, correct the request
429Quota or ceiling reachedYes, after Retry-After
500Internal errorYes, later
502Price calculation failedYes, later
503API switched off for a whileYes, after Retry-After

The error codes

The value of code in the body of the error. Each entry has an anchor: the URL in the type field leads straight to it, on the French page, and the same anchor works here.

Key and account access

unauthorized HTTP 401#

Cause. The request has no Authorization: Bearer header, or the key is malformed, unknown or revoked. The response carries the WWW-Authenticate header.

What to do. Send the key in the Authorization: Bearer fm_test_… or fm_live_… header, never in the URL. A revoked key stops working within a minute: create another one in the portal, under the “API” menu.

detail (English): Missing or invalid API key. Send "Authorization: Bearer fm_live_…" or "fm_test_…".

account_disabled HTTP 403#

Cause. Your agency has switched off API access for this account. No key works and no key can be created.

What to do. Contact your agency.

detail (English): API access is disabled for this account. Contact your agency.

api_disabled HTTP 503#

Cause. The API is switched off for a while, for every account.

What to do. Retry after the delay in the Retry-After header, in seconds.

detail (English): The API is temporarily disabled.

Shape of the request

not_found HTTP 404#

Cause. The URL, under /api/v1, matches no resource (for example /api/v1/quote instead of /api/v1/quotes). Without the /v1 prefix, the request does not reach the API: freightmaster.fr answers with an HTML page.

What to do. Check the URL: every resource sits under https://freightmaster.fr/api/v1.

detail (English): Resource not found.

method_not_allowed HTTP 405#

Cause. The resource exists, but not with this HTTP method (for example DELETE /quotes).

What to do. Check the method in the endpoint documentation.

detail (English): Method not allowed on this resource.

unsupported_media_type HTTP 415#

Cause. A request body is sent without the Content-Type: application/json header.

What to do. Add Content-Type: application/json.

detail (English): The body must be JSON (Content-Type: application/json).

payload_too_large HTTP 413#

Cause. The request body exceeds 64 KB.

What to do. Reduce the size of the request.

detail (English): Request body too large (64 KB maximum).

invalid_json HTTP 400#

Cause. A body accepted by the hosting platform but unreadable for the API, for example preceded by a byte order mark (BOM). A body that is not valid JSON, or that is neither an object nor an array, is rejected before the API: 400 with an HTML page (text/html), with no code, no request_id and no X-Request-Id header.

What to do. Check the JSON before sending it: double quotes, no trailing comma, no byte order mark. Check the Content-Type of an error response before reading it as an object.

detail (English): Unreadable JSON body.

validation_failed HTTP 422#

Cause. One or more fields are wrong or missing. The errors array gives, for each one, field (path of the field), code and message; for a refused pickup date, earliest gives the nearest possible date.

What to do. Correct each field listed, then send the request again. The field codes are explained further down.

detail (English): The request contains errors.

shipment_outside_limits HTTP 422#

Cause. The shipment exceeds the gauge of the pallet network: 6 pallets, 2.4 loading metres, 220 cm high, 1,500 kg per pallet, 400 cm long; above 2.40 m long, 4 m³ per shipment and 100 kg per long pallet. The errors array says which limit is exceeded.

What to do. Reduce the load, or ask for a full or part truckload quote, outside the API.

detail (English): The shipment exceeds the pallet network limits (6 pallets, 2.4 loading meters, 2.20 m high, 1,500 kg per pallet, 4 m long). Ask for a full or part truckload quote.

Quotas and ceilings

rate_limited HTTP 429#

Cause. Too many requests with this key: more than 60 quotes per minute, 120 reads per minute, 20 bookings per hour or 20 cancellations per hour.

What to do. Wait the number of seconds in the Retry-After header, then retry. Keep a quote rather than asking for it again: it is valid for 24 hours.

detail (English): Too many requests. Retry after the indicated delay.

daily_limit_reached HTTP 429#

Cause. The key's daily ceiling: 2,000 quotes per day, or 100 real bookings per day. The day is counted in Coordinated Universal Time (UTC).

What to do. Retry the next day. The Retry-After header gives 3,600 seconds.

detail (English): Daily limit reached for this key.

account_quote_limit_reached HTTP 429#

Cause. 200 quotes per day and per account, all test keys together, and for any account that pays by card. The day is the Paris day.

What to do. Retry after midnight, Paris time (Retry-After header). This ceiling does not apply to a monthly-invoiced account quoting with its production key.

detail (English): Limit of 200 quotes per day reached for this account (test keys and card-paying accounts). Retry tomorrow or contact your agency.

account_daily_limit_reached HTTP 429#

Cause. The account's daily ceiling on real bookings, Paris time: 10 by default. Test bookings do not count.

What to do. Retry the next day (Retry-After header), or ask your agency to have the ceiling raised. GET /me gives the ceiling and the counters of the account.

detail (English): Account booking limit reached for today. Ask your agency to have it raised.

account_monthly_limit_reached HTTP 429#

Cause. The account's monthly ceiling on real bookings: 60 by default.

What to do. Retry the following month (Retry-After header), or ask your agency to have the ceiling raised.

detail (English): Account booking limit reached for this month. Ask your agency to have it raised.

Real booking (fm_live_ key)

booking_not_allowed HTTP 403#

Cause. Production key of an account that pays by card: API booking is reserved for monthly-invoiced accounts. Same response for a cancellation through the API. GET /me then returns can_book: false and booking_blocked_reason: "card_prepayment".

What to do. Quoting stays possible, and the test key simulates the booking. To book through the API, request monthly invoicing from the portal, under the “API” menu. Each offer carries a booking_url link to the website, with the route and pallets already filled in.

detail (English): This account pays by card: API booking is reserved for monthly-invoiced accounts. Ask your agency for monthly invoicing.

agency_not_enrolled HTTP 403#

Cause. Production key: your agency has not opened API booking. booking_blocked_reason is agency_not_enrolled.

What to do. You can quote and test. To book through the API, talk to your agency.

detail (English): Your agency has not opened API booking. You can quote and test; to book, talk to your agency.

live_key_requires_review HTTP 403#

Cause. Production key of an account that its agency has not authorised, or no longer authorises, to book. The portal also refuses to create a production key before this review. booking_blocked_reason is live_key_requires_review.

What to do. Make a test booking, then, in the portal, under the “API” menu: “Request the production key”. Your agency reviews the test booking; you are told by e-mail when the key is authorised.

detail (English): Live booking opens after your agency has reviewed a test booking. Request the production key from your customer portal, “API” menu.

Quote and offer

quote_not_found HTTP 404#

Cause. Unknown quote_id, or a quote of another account or of the other mode: a quote made with a test key cannot be booked with a production key, and vice versa.

What to do. Use a quote created with a key of the same account and the same mode.

detail (English): Quote not found.

quote_expired HTTP 410#

Cause. The quote is more than 24 hours old.

What to do. Ask for a new quote. GET /quotes/{id} shows expired: true.

detail (English): Quote expired (24 h). Request a new quote.

offer_not_found HTTP 404#

Cause. offer_id is not part of this quote.

What to do. Take an offer_id from the same POST /quotes response.

detail (English): Offer not found in this quote.

offer_not_bookable HTTP 422#

Cause. The offer carries bookable: false: a requested service is not offered by this carrier. unsupported_services says which.

What to do. Choose another offer, or remove the service and ask for a new quote.

detail (English): This offer cannot be booked (a requested service is not offered by this carrier).

offer_no_longer_available HTTP 409#

Cause. Production key: at the moment of booking, this carrier no longer offers a rate for this shipment.

What to do. Ask for a new quote.

detail (English): This carrier no longer offers a rate for this shipment. Request a new quote.

pickup_date_not_allowed HTTP 422#

Cause. The pickup date of the quote is no longer possible at the moment of booking: it falls before the business day after the booking. earliest_pickup_date gives the nearest possible date.

What to do. Ask for a new quote with a pickup_date at least equal to earliest_pickup_date.

detail (English): The quote's pickup date is no longer possible. Request a new quote.

Idempotency

idempotency_key_required HTTP 400#

Cause. POST /shipments without a valid Idempotency-Key header: 8 to 255 printable ASCII characters, no spaces.

What to do. Add the header, for example your order number followed by an attempt number: PO-12345-1.

detail (English): Idempotency-Key header required (8 to 255 printable characters).

idempotency_key_reused HTTP 422 or 409#

Cause. 422: the key has already been used for a request with a different body. 409: a booking already exists, or is in progress, with this key.

What to do. To replay a request, send exactly the same body with the same key: you receive the original response, with the Idempotent-Replayed: true header. For a new booking, for example after a cancellation, change the key (next attempt number).

detail (English): This idempotency key was already used for a different request.

Shipment, label, cancellation

shipment_not_found HTTP 404#

Cause. Unknown ID, or an ID of another account or of the other mode: shp_test_… IDs are read with a test key. A full or part truckload is not exposed by the API.

What to do. Check the ID and the key used.

detail (English): Shipment not found.

label_not_ready HTTP 409#

Cause. The label has not been attached by the agency yet. The Retry-After header gives a waiting time: 900 seconds in production, 60 in test. Sometimes no label is attached: label.status then changes to not_provided when the shipment goes into transit.

What to do. Wait for the shipment.label_available event (webhook or GET /events), or retry after Retry-After. Stop waiting if label.status is not_provided.

detail (English): The label is not available yet. It is attached by the agency after booking.

label_not_downloadable HTTP 409#

Cause. A label exists, but the API cannot serve it: file stored outside your account's space, a format other than PDF, or more than 5 MB. label.downloadable is false.

What to do. Get the label from the portal or from your agency.

detail (English): This label cannot be downloaded through the API.

already_cancelled HTTP 409#

Cause. The shipment is already cancelled.

What to do. Nothing to do. To book again, ask for a new quote and use a new idempotency key.

detail (English): This shipment is already cancelled.

cannot_cancel HTTP 409#

Cause. The shipment is in transit or delivered: cancellation is no longer possible. In test, from the “in transit” step of the simulated cycle onwards.

What to do. Contact your agency.

detail (English): This shipment can no longer be cancelled (in transit or delivered).

test_only HTTP 403#

Cause. POST /test/shipments/{id}/advance with a production key: this command is for the sandbox.

What to do. Use an fm_test_ key.

detail (English): Test keys only (fm_test_…).

Server

engine_error HTTP 502#

Cause. The price calculation failed on the server side.

What to do. Retry a little later. For a booking, keep the same idempotency key: no duplicate is possible.

detail (English): Price calculation failed. Retry later.

internal HTTP 500#

Cause. Unexpected error.

What to do. Retry later, with the same idempotency key for a booking. If the error persists, write to contact@freightmaster.fr with the request_id.

detail (English): Internal error. Retry later.

The field codes

The value of errors[].code, with the validation_failed or shipment_outside_limits error, both 422. field gives the path of the field, for example pallets[0].weight_kg or consignee.postal_code. All the errors of the request are listed at once, except the gauge, which is checked when the rest is correct.

Structure of the request

invalid_body HTTP 422#

Cause. The body is not a JSON object (an array, for example). field is then empty.

What to do. Send a JSON object.

message (English): JSON object expected.

unknown_field HTTP 422#

Cause. A field the API does not know: it refuses them all, at every level.

What to do. Remove the field or correct its name (in snake_case).

message (English): Unknown field.

required HTTP 422#

Cause. A required field is missing or empty.

What to do. Add it. For a quote: origin, destination, pallets and, for each line, length_cm, width_cm, height_cm, weight_kg. For a booking: quote_id and the required fields of the shipper and the consignee.

message (English): Required field.

invalid_type HTTP 422#

Cause. Wrong type: an object was expected (services, a line of pallets) or a boolean (an option of services).

What to do. Send the expected type.

message (English): Invalid type.

invalid_value HTTP 422#

Cause. Value outside the list: guaranteed_delivery accepts none, guaranteed or guaranteed_before_13h.

What to do. Choose a value from the list.

message (English): Value not allowed.

invalid_number HTTP 422#

Cause. A dimension or weight that is not numeric, zero or negative.

What to do. Send strictly positive JSON numbers, never strings.

message (English): Strictly positive number expected.

invalid_quantity HTTP 422#

Cause. quantity is not an integer from 1 to 6.

What to do. Send an integer from 1 to 6; without quantity, the line counts as one pallet.

message (English): Integer quantity from 1 to 6 expected.

too_many_lines HTTP 422#

Cause. More than 6 lines in pallets.

What to do. Group identical pallets with quantity.

message (English): 6 pallet lines maximum.

invalid_reference HTTP 422#

Cause. reference exceeds 64 characters, or contains a control character or an angle bracket.

What to do. Shorten your reference.

message (English): Reference of 64 characters maximum.

Countries, postal codes and pickup date

country_not_supported HTTP 422#

Cause. A country code not served by the API. A route from the United Kingdom to the United Kingdom is also refused.

What to do. Send a 2-letter ISO code that is served (FR, BE, DE…): the countries are listed in the endpoint documentation.

message (English): Country not served by the API.

postal_code_invalid HTTP 422#

Cause. Postal code incomplete or in the wrong format for this country: 5 digits in France, Monaco included.

What to do. Send the full postal code of the address.

message (English): Invalid postal code for this country (full code expected).

france_required HTTP 422#

Cause. Neither the origin nor the destination is in France.

What to do. France must be the origin or the destination country; for another route, contact your agency.

message (English): France must be the origin or the destination country.

invalid_date HTTP 422#

Cause. pickup_date is not in the YYYY-MM-DD format.

What to do. Send a date such as 2026-11-23, or nothing: the API then uses the next business day.

message (English): Date expected as YYYY-MM-DD.

pickup_date_too_early HTTP 422#

Cause. A date before the business day after today, Paris time. earliest gives the nearest possible date.

What to do. Send earliest or a later date.

message (English): Pickup on the next business day at the earliest.

pickup_date_not_business_day HTTP 422#

Cause. Saturday, Sunday or a French public holiday. earliest gives the nearest possible date.

What to do. Choose a business day.

message (English): Pickup on a business day only (no weekend or French public holiday).

pickup_date_too_far HTTP 422#

Cause. A date more than 90 days ahead.

What to do. Choose a nearer date.

message (English): Pickup date within 90 days.

Services

un_number_required HTTP 422#

Cause. Dangerous goods without a 4-digit UN number (the “UN” prefix is accepted).

What to do. Send dangerous_goods: { "un_number": "1263" }, with your number.

message (English): 4-digit UN number required for dangerous goods.

declared_value_invalid HTTP 422#

Cause. A value to insure that is not numeric, is zero or exceeds €1,000,000.

What to do. Send insurance: { "declared_value": 5000 }, in euros.

message (English): Invalid declared value (positive number, 1,000,000 € maximum).

Addresses of the booking

invalid_email HTTP 422#

Cause. Malformed e-mail address.

What to do. Correct the address.

message (English): Invalid e-mail address.

invalid_phone HTTP 422#

Cause. Fewer than 6 digits in the number.

What to do. Send a complete number.

message (English): Invalid phone number.

incomplete HTTP 422#

Cause. Company, street or city without any letter, or a street of fewer than 3 meaningful characters: the driver must be able to find the address.

What to do. Send the name, the street and the city in full.

message (English): Incomplete: give the full company name, street and city.

does_not_match_quote HTTP 422#

Cause. Country or postal code of the shipper or the consignee different from the quote.

What to do. Correct the address, or ask for a new quote for this route.

message (English): Differs from the quote: request a new quote.

Gauge (with shipment_outside_limits)

too_many_units HTTP 422#

Cause. More than 6 pallets in total.

What to do. Split the shipment, or ask for a full or part truckload quote.

message (English): 6 pallets maximum.

loading_meters_limit HTTP 422#

Cause. As a field code: more than 2.4 loading metres, when no pallet is longer than 2.40 m. As a quote refusal (in unavailable): the load exceeds the largest loading-metre bracket offered on this lane.

What to do. Reduce the load, or ask for a full or part truckload quote.

message (English): 2.4 loading meters maximum.

refusal message (English): The shipment exceeds the largest loading-meter bracket offered on this lane.

volume_limit HTTP 422#

Cause. As a field code: above 2.40 m long, more than 4 m³ per shipment. As a quote refusal: the volume exceeds the carriers' ceiling on this lane.

What to do. Reduce the volume, or ask for a full or part truckload quote.

message (English): 4 m³ maximum beyond 2.40 m long.

refusal message (English): The volume exceeds the carriers' ceiling on this lane.

long_unit_weight_limit HTTP 422#

Cause. As a field code: a pallet longer than 2.40 m weighs more than 100 kg. As a quote refusal: a pallet longer than 2.40 m exceeds the weight accepted on this lane.

What to do. Lighten the long pallet, or ask for a full or part truckload quote.

message (English): 100 kg maximum per pallet longer than 2.40 m.

refusal message (English): A pallet longer than 2.40 m exceeds the accepted weight.

unit_too_long HTTP 422#

Cause. A floor dimension exceeds 400 cm.

What to do. Ask for a full or part truckload quote.

message (English): 400 cm maximum.

unit_too_high HTTP 422#

Cause. A pallet is more than 220 cm high.

What to do. Reduce the height, or ask for a full or part truckload quote.

message (English): 220 cm high maximum.

unit_too_heavy HTTP 422#

Cause. A pallet weighs more than 1,500 kg.

What to do. Spread the weight, or ask for a full or part truckload quote.

message (English): 1,500 kg maximum per pallet.

The notices of an offer

An offer can carry notices in offers[].notices[], each with a code and a message. They are not errors: the quote responds 201 and the offer stays bookable. They say what the price includes, or not.

customs_not_included HTTP 201#

Cause. Origin or destination subject to customs formalities: customs clearance fees are not included in the price.

What to do. Plan for the customs documents and fees.

message (English): Customs formalities apply: customs clearance fees are not included.

customs_export_included HTTP 201#

Cause. Export customs formalities are included in the price.

What to do. Nothing to plan for the export formalities.

message (English): Export customs formalities are included in the price.

locality_rate_applied HTTP 201#

Cause. Special-rate locality (island, mountain): the price takes the adjusted rate into account.

What to do. Nothing to do: the price includes it.

message (English): Special-rate locality (island, mountain): adjusted rate applied.

port_surcharge_included HTTP 201#

Cause. Port area: the surcharge is included in the price.

What to do. Nothing to do: the price includes it.

message (English): Port area: surcharge included in the price.

sector_partially_served HTTP 201#

Cause. Some localities in this postal sector are not served.

What to do. If in doubt about the locality, check with your agency before booking.

message (English): Some localities in this sector are not served.

locality_rate_possible HTTP 201#

Cause. Some localities in this sector have a special rate.

What to do. If in doubt about the locality, check with your agency before booking.

message (English): Some localities in this sector have a special rate.

sector_max_price HTTP 201#

Cause. The price is the highest of the postal sector: the exact price depends on the full postal code.

What to do. Send the full postal code of the address.

message (English): Highest price of the postal sector: the exact price depends on the full postal code.

urban_delivery_included HTTP 201#

Cause. Restricted urban area delivery: the surcharge is included, in the urban_delivery price line.

What to do. Nothing to do: the price includes it.

message (English): Restricted urban area delivery: surcharge included.

urban_delivery_possible HTTP 201#

Cause. Some cities in this department carry a restricted urban area delivery surcharge.

What to do. Send the full postal code of the delivery address.

message (English): Some cities in this department carry a restricted urban area delivery surcharge.

The quote refusals

When no offer comes back, the quote still responds 201, with an empty offers and the reason in unavailable[]: one code and one message per reason.

loading_meters_limit HTTP 201

Same code as the gauge: see its entry, which describes both cases.

weight_limit HTTP 201#

Cause. The weight exceeds the carriers' ceiling on this lane.

What to do. Lighten or split the shipment, or ask for a full or part truckload quote.

message (English): The weight exceeds the carriers' ceiling on this lane.

volume_limit HTTP 201

Same code as the gauge: see its entry, which describes both cases.

long_unit_weight_limit HTTP 201

Same code as the gauge: see its entry, which describes both cases.

carrier_constraints HTTP 201#

Cause. The load does not meet the carriers' acceptance conditions on this lane.

What to do. Check the limits by carrier, or ask for a full or part truckload quote.

message (English): The shipment does not meet the carriers' acceptance conditions.

postal_code_incomplete HTTP 201#

Cause. The postal code does not identify the sector.

What to do. Send the full postal code.

message (English): The postal code does not identify the sector: send the full postal code.

postal_code_ambiguous HTTP 201#

Cause. The postal code matches several sectors.

What to do. Contact your agency.

message (English): The postal code matches several sectors.

postal_code_not_served HTTP 201#

Cause. This postal code is not served.

What to do. Check the postal code; if it is right, contact your agency.

message (English): This postal code is not served.

destination_not_served HTTP 201#

Cause. This destination is not served.

What to do. Contact your agency.

message (English): This destination is not served.

country_not_served HTTP 201#

Cause. This country is not served on this route.

What to do. Contact your agency.

message (English): This country is not served.

french_department_not_served HTTP 201#

Cause. This French department is not served on this lane.

What to do. Contact your agency.

message (English): This French department is not served on this lane.

rate_on_request HTTP 201#

Cause. Rate on request for this load.

What to do. Contact your agency.

message (English): Rate on request for this shipment.

no_rate HTTP 201#

Cause. No rate available for this load.

What to do. Check the load, or contact your agency.

message (English): No rate available for this shipment.

no_route HTTP 201#

Cause. No carrier offers a rate on this lane for your account.

What to do. Check the countries and postal codes; otherwise, contact your agency.

message (English): No carrier offers a rate on this lane for this account.

Retrying safely

  • Retry on 429, 500, 502 and 503, and on 409 label_not_ready, after the Retry-After delay when one is given; not on the other codes.
  • A booking is replayed with the same idempotency key and the same body: after a network failure, you receive the original response, never a second shipment.
  • To book an order again after a cancellation, use a new idempotency key: the order number followed by an attempt number.
  • Keep the request_id of every error response: it lets the request be traced.

Quotas and the gauge are detailed in the API limits, the whole journey in getting started with the API. The French version of this page: /api/erreurs.

Try the API with a test key

Real quotes at your account's prices, simulated bookings: every error on this page can be reproduced safely in the sandbox. Business registered in France? Sign up on /inscription (form in French).