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: API client_id

Part Number: TI-API

Tool/software:

I am getting error for the API credential and it is message returned from python requests.post and the request token is returned with error 401. 

{'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'}

Currently I am putting client_id = Key from myTI account. Any chance there is another client_id value which I am not aware of?

Thanks in advance

  • Kwok,
    Can you send your code (removing your key and secret)?  I sent you a friend request, so, if you can accept that, you can send me your information in that private chat.  Thanks!

    Also, confirm that you do not have any leading or trailing spaces around your key or secret.

    Faye

  • HI Faye,

    Thanks for getting back. I sent you the python script I am using for accessing token. I just refreshed my key and secret ensuring it is correct and no heading or trailing space. Would you mind give me a hand on this please?

    Thanks in advance.

    Best wishes,

    Kwok

**Attention** This is a public forum