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.
Tool/software:
– I’m trying to get some part information from the products API endpoint [https://transact.ti.com/v1/products/]. However, when running the requests in the web UI or in my own dev environment (After succesfully authorizing and obtaining a bearer token), I get an error. I am able to get a successful response with this endpoint [https://transact.ti.com/v1/store/products/], using the same client credentials, but it does not hve the data I need.
We have a GPN parameter and a Product Identifier parameter the GPN is Generic and it will bring back related products for that generic part number if you are specifically wanting a product material that is not a generic you must use the product identifier parameter and not the GenericProductIdentfier in your GET API search.
material request product API - it seems you are using the GPN not the actual material name in your product call.
product: transact-pre.ti.com/.../products/SN74AUP1G32DPWR or
generic: transact-pre.ti.com/.../products/?GenericProductIdentifier=SN74AUP1G32&Page=0&Size=10
Additionally, you can use the other product APIs to get the additional parameters of the product and or actually go to the TI websites
"URL": "">www.ti.com/.../SN74AUP1G32",
"Datasheet URL": "">www.ti.com/.../SN74AUP1G32",
Thank you Tammy. After running this on the embeded UI (https://www.ti.com/developer-api/product-information-api-suite/product-information-api.html#/Products/getProductsUsingGET) the request worked.
However, when I make the exact same request from my own client, it fails (bearer_token comes from a successful auth against 'transact.ti.com/.../oauth'):
url = 'transact.ti.com/.../products
response = requests.get(url, headers={'accept': 'application/json', 'Authorization': f'Bearer {bearer_token}'})
result:
{'faultstring': 'Invalid API call as no apiproduct match found', 'detail': {'errorcode': 'keymanagement.service.InvalidAPICallAsNoApiProductMatchFound'}}
**Attention** This is a public forum