GuidesAPI ReferenceChangelog
GuidesAPI ReferenceChangelogLog In

Content-type mandatory in authentication header

If you have implemented your calls to Criteo authentication endpoint /oauth2/token without the header Content-Type: application/x-www-form-urlencoded, this header will be mandatory beginning on May 11th.

Please ensure your implementation is compliant with our guide before this date, otherwise, you will see the following error when calling the authentication endpoint:

    "error": "invalid_request",
    "error_description": "The request content-type header must be \"application/x-www-form-urlencoded\".",
    "error_uri": ""

These controls ensure we offer you the best developer experience and adhere to the latest API best practices.