You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error Code "OSC-CREST-00017" using REST API

Accepted answer
edited Oct 25, 2018 11:55AM in Integrations and APIs 7 comments


Hi All,

I am using rest api to retrieve contact based on the contact email address, My code works well for one interface which is EN-US but give error OSC-CREST-00017 for other interface which is FR.


var ajaxUrl = globalContext.getInterfaceServiceUrl('rest') + "/connect/v1.3/queryResults/?query=SELECT id FROM contacts WHERE Emails.EmailList.Address='"+ EmailAddress + "'";
            return $.ajax({
            type: "GET",
            async: false,
            url: ajaxUrl,
            beforeSend: function (xhr) { xhr.setRequestHeader("Authorization", "Session " + sessionID); }
Error:  "type": "",
    "title": "Une langue non prise en charge a été demandée",
    "status": 400,
    "detail": "This interface uses fr-FR language which does not match with requested language of 'en-US,en;q=0.9'",

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!