Tool/software:
I’m working on connecting our website with TI’s product information API suite.
Below is the current status:
- Successfully tested the query string and connection at: API developer portal | TI product information API suite
- Successfully received the OAuth 2.0 token via our dev connection
- When testing the endpoint, we're receiving error code: TI-API-00421, “You are successfully connecting to your API. But your API key, login or API credentials are incorrect. See here for info on correctly authorizing your API requests.”
- One potential issue could involve TI’s v1 and v2 APIs.
I am only able to use our client id and client secret to obtain OAuth 2.0 using v1: transact.ti.com/.../accesstoken
When I try to obtain a token from v2 (transact.ti.com/.../accesstoken), I receive error code: TI-API-00221, “No API Endpoint Found”
Note: I haven’t been able to find a v2 oauth url, so the above url may be incorrect. All TI API documentation I’ve seen only references v1, so maybe only exists via v1 but I’ve also seen posts in this support forum stating that you need a v2 OAuth to connect to the v2 API. - I tried regenerated our client and secret keys to see if that would resolve the issue, but unfortunately it didn’t.
- I've tried several configurations of header/body parameters, etc.
- The query string I’m using for the initial test endpoint is: transact.ti.com/.../products
Please note that I’m using a low-code plugin for our WordPress site called WPGetAPI to connect to your API, but it seems to have all of the parameters needed and customization options as well.
With the error codes I’m receiving, I'm wondering if this may have to do with our API credentials or the OAuth tokens we’re receiving from TI (not sure if our account is only authorized for v1 or if there’s some other issue). Any assistance you can provide to troubleshoot this issue is greatly appreciated!