請問我用C#winfrom 執行API V2 下單
透過 HttpResponseMessage 回傳資料卻一直出現Status code 500, ReasonPhrase:'Internal Server Error', Version: 1.1, Content: System.Net.Http.StreamContent,
是甚麼原因?
你好
我的JSON如下:
{"order":{"checkoutProfileId":"F1A4B95597BE241EE0538620BB8B7D47","endCustomerCompanyName":"CYPRESS TECHNOLOGY CO., LTD","customerPurchaseOrderNumber":"2304250001","expediteShipping":false,"OrderNumber":null,"lineItems":[{"customerLineItemNumber":1,"tiPartNumber":"74AHC1G125DBVRG4","customerPartNumber":"test","customReelIndicator":false,"quantity":1}]}}
我用Postman 測試 可以呈現
另外他回傳訊息如下:
ERR-TICOM-ORDER-API-GEN-0500
{ "errors" : [ { "section" : "Generic", "errorType" : "Validation", "errorCode" : "ERR-TICOM-ORDER-API-GEN-0500", "reason" : "We encountered a technical issue in processing your request.", "message" : "The API is temporarily unavailable. Please retry, if the issue persists, Please contact TI customer support - https://support.ti.com/csm" } ] }