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: Enable API for test environment

Tool/software:

Hello, can our API / Account be approved for the test environment? We are currently trying to set up API but nee to test it

Error message we are receiving is:

faultstring: "Invalid API call as no apiproduct match found"
errorcode: "keymanagement.service.InvalidAPICallAsNoApiProductMatchFound"

Thank you

Kind regards

Iva

  • Hello Iva,

    Thanks for reaching out!

    You should be approved to use our test environment.

    Did you use the API key and secret from your myTIDashboard for the authentication? 

    Thank you!

    Best regards,

    Tobi

  • Hello Tobias

    Yes, we are using the API key and secret from MyTIDashboard and still getting the error message.

    Please advice

    Thank you

    Iva

  • Hello Iva,

    Could you please try to regenerate the API key and access and try it again?

    Thank you and best regards,

    Tobi

  • Hello Tobi

    We have regenerated Key and secret and still the same issue. Could you please advice?

    Thank you

    Iva

  • Hello Iva,

    Which API call did you try to send?

    Was it for Quote API?

    Thank you!
    Best regards,

    Tobi

  • Hello Tobi,

    here's Jirka from Dev team. We're trying to call https://transact-pre.ti.com/v2/store/orders API, in header we post credentials trough "Authorization: Bearer [token]" and as a payload data from order.

    Thanks in advance J.

  • Hello Jirka,

    Nice to "meet" you!

    Thanks for sharing the URL. I can see that it's for our Store Channel. Is this intentionally?

    If yes - did you follow the steps below from our TI store API suite to authenticate?

    API developer portal | TI store API suite

    Thank you!
    Best regards,

    Tobi

  • Yes, we are trying to create an order. No matter what we try, we always end up with same error. This is redacted output of our latest calls, we even included /store/products call (that we didn't do initially) and we get same error on this call also:

    AUTH: https://transact-pre.ti.com/v1/oauth
    PARAMS: array(3) {
      ["grant_type"]=>
      string(18) "client_credentials"
      ["client_id"]=>
      string(32) "[REDACTED]"
      ["client_secret"]=>
      string(16) "[REDACTED]"
    }
    RESPONSE: object(stdClass)#871 (8) {
      ["access_token"]=>
      string(28) "[REDACTED]"
      ["token_type"]=>
      string(6) "bearer"
      ["expires_in"]=>
      int(3599)
      ["scope"]=>
      string(0) ""
      ["application_name"]=>
      string(17) "[REDACTED]"
      ["developer.email"]=>
      string(0) ""
      ["issued_at"]=>
      string(13) "1746000481814"
      ["client_id"]=>
      string(32) "[REDACTED]"
    }
    
    CALL: https://transact-pre.ti.com/v2/store/products?gpn=TPS43332QDAPRQ1&currency=USD&page=0&size=100&exclude-evms=false
    HEADER: Authorization: Bearer [REDACTED]
    PARAMS: array(5) {
      ["gpn"]=>
      string(15) "TPS43332QDAPRQ1"
      ["currency"]=>
      string(3) "USD"
      ["page"]=>
      int(0)
      ["size"]=>
      int(100)
      ["exclude-evms"]=>
      string(5) "false"
    }
    RESPONSE: object(stdClass)#1634 (1) {
      ["fault"]=>
      object(stdClass)#1633 (2) {
        ["faultstring"]=>
        string(45) "Invalid API call as no apiproduct match found"
        ["detail"]=>
        object(stdClass)#1632 (1) {
          ["errorcode"]=>
          string(60) "keymanagement.service.InvalidAPICallAsNoApiProductMatchFound"
        }
      }
    }

  • This issue got resolved via e-mail.

**Attention** This is a public forum