Calling the Authorization API in: https://transact.ti.com/v1/oauth/accesstoken
I have valid credentials, which testing the Authorization from https://api-portal.ti.com/inventory-pricing-api using Authorize button it works.
However, from the code i get exception: The remote server returned an error: (401) Unauthorized.
and the web response inside the exception is
{
"error": "invalid_client",
"error_description": "client_id or client_secret are not correct",
"error_uri": "See the full API docs at ">api-portal.ti.com/order-api-authentication"
}
However the client_id and client_secret are valid !
Please assist, maybe the calling code is not correct but there is no code example of how to call the authorization API, maybe the urls are not accurate in some links.
Thanks,
Lior