TI-API:endCustomerCompanyName

Part Number: TI-API

1.endCustomerCompanyName is omitted, the following error occurs
  Set value
{
"quote": {
"checkoutProfileId": "1BB",
"requestedUnitPriceCurrencyCode": "USD",
"lineItems": [
{
"tiPartNumber": "SN74LS00N",
"quantity": 2500,
"requestedUnitPrice": 1.2
}
]
}
}

  Error Description
"errors" : [
{
"errorCode" : "ERR-BKG-QUOTE-API-0001",
"type" : "ERROR",
"reason" : "Missing endCustomerCompanyName",
"message" : "endCustomerCompanyName cannot be null or empty. Enter a valid endCustomerCompanyName and resubmit request."
}
]


2.Adding the endCustomerCompanyName line causes a system error.
  Set value
{
"quote": {
"checkoutProfileId": "1xxxx",
"requestedUnitPriceCurrencyCode": "USD",
"endCustomerCompanyName": "TOKYO ELECTRON DEVICE NAGASAKI",
"lineItems": [
{
"tiPartNumber": "SN74LS00N",
"quantity": 2500,
"requestedUnitPrice": 1.2
}
]
}
}

  Error Description
Processing was aborted because an error occurred while executing the Web API request.
and no clear error is returned.

I would like to know how to deal with this.

[TdEtDc]

  • Hi, we have removed your sensitive information in the thread. 

    I have checked the transactions, I can see you have successful requests and also the errored requests as the first one you shared in this thread. So I would say there should be no issues with the API flows as long as you put the correct EC info. For the second error, may I know whether it's a reoccurring issue or just one time? It looks like the error from your Web API side. Could you help to retry and let me know if this issue still there. If yes, please help to provide the exact API request time and time zone, then I can have further checking from our side. 

    Thank you.

  • Thank you for your reply.
    It is reproducible.
    Please confirm that you have executed it on 11/21/2024 at 8:11 (UTC).

    Best regards.

  • Hi, sure, we will check internally and provide our feedback asap. Thank you.

  • Hi, we have double checked internally, we cannot find any transactions with the error which occurred while executing the Web API request.

    And this also doesn't look like a TI responded error. So it's probably an error from your internal API application. 

    We also checked the transactions on that day, there was only one successful request for quote 26932880.

    Thank you.

  • Hello, any new issues as I can see this is not resolved your issue.

  • Hello.

    I cannot find the problem here.

    Once again, two communications were made, one with endCustomerCompanyName omitted and one with it set.

    Not setting endCustomerCompanyName
    2024-11-29 06:53:29(UTC)

    Set endCustomerCompanyName
    2024-11-29 06:55:36(UTC)

    Please check again.

  • Hi, could you share the quote ID you tested with?

    I checked our logs but cannot find any quote request for it. Thanks.

  • Where can I find a quote ID?
    I am issuing an API based on the sample code on your website, but I can't find the quote ID.

    The url you are connecting to is as follows.
    transact.ti.com/.../test

    Please check it.

  • transact.ti.com/.../test

  • I sent the adding friends request to you. we can discuss more details. thanks. 

  • Hi Becky,

    Sorry to jump in. May I ask what you mean by Quote ID?

    As you can see in the API portal, customerQuoteNumber is not mandatory field so customer did not include it in the test data. And then it errored saying "Missing endCustomerCompanyName" so TI did not give them TI's quote number either.

  • Hi Ayumi,

    Thank you for checking. With previous information or request date&time shared by customer, I cannot find the API records on our portal.

    And also I can find some successful transactions, so I think there is no issue with API setups. instead, it's probably an error from customer's internal API application. So it would be good if they can share the error screenshot if any. and also, can try to increase their runout time and see whether it helps. Thank you.

  • Hi Becky,

    Thank you for looking into this.

    Customer is claiming that when they insert endCustomerCompanyName, it errors out while the API call and no error message comes back.

    Below is their error info (sorry it's in Japanese...)

    Seems like timeout issue maybe??

    ポート名=:APGAP01 タスクID=2024-11-21 17:11:10.170.000 +0900 所属フロー名=:QUOTE_SEND2 ジョブ名=WEB_API_REQUEST アプリケーション名=:Backlog_quote_create エラー情報=Web APIリクエスト実行時にエラーが発生しました。(java.net.SocketTimeoutException: timeout)

  • Hi Ayumi,

    Thank you for sharing the error log.

    yes, I think it's the timeout issue with customer's API application. So it would be good if they can double check on the timeout exception setups, we do see some customer increase the timeout phase then the issue was fixed. Thank you.

  • Hi Becky,

    Customer expanded the timeout to 60seconds and retried but still it errored out immediately.

    They tried on below time, could you please confirm if we have the error log on our side?

    2024/12/09 13:38:57(JST)

  • Hi Ayumi,

    I can see the transaction is successful and we should have send the response back to customer.

  • I am resolving this thread.