This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-API: Quote API Authorization Problem

Hello,

Even though all my settings are made and I send a token to the service, I get a "401 Unauthorized" error.

The response from the service is as follows:

Endpoint: transact.ti.com/.../quotes

Fullscreen
1
2
3
4
5
6
7
8
{
"fault": {
"faultstring": "Invalid API call as no apiproduct match found",
"detail": {
"errorcode": "keymanagement.service.InvalidAPICallAsNoApiProductMatchFound"
}
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Sena,

    Your access to the quote API was not approved at the time that you were trying to execute the API.  Access has been approved now, so, please retry and let us know if you encounter any additional problems.  Also, your example is based on older documentation, which is not applicable to you.  You will need to include a checkout profile ID in your API request.  The quote documentation  can be found here:  https://www.ti.com/swc/developer-apis/quote/quote-api.html 

    Below is an example of how to structure your API call using the checkout profile ID

    Please retry your test again to confirm that it is working.

    Regards,

    Faye

**Attention** This is a public forum