Tool/software:
Hello Texas Instruments team,
im just getting started working on the API integration of my client to your Rest-API.
As im setting everything up, i encountered several problems regarding your store-order-api.
My API Calls are working but if i pass a wrong parameter i get no error message, only:
{ "errors": [ { "type": "Unknown", "code": "TI-API-00500", "reason": "Service unavailable", "message": "This service is temporarily unavailable. Please contact support." } ] }
I would expect something along the lines of: Backlog order/order change API error codes and meanings
Steps to reproduce:
- GoTo api-portal.ti.com/store-order-api
- Authorize
- TryOut "/store/orders/{orderNumber}" (Input random invalid number e.g. "69576")
- Observe
Service unavailable
instead of something along the lines of "invalid order Number"
It is also the same with placing orders where the "orders" object is missing
'/v2/store/orders/test'
and getByDate with wrong Date
'/v2/store/orders?startDate=2024-40-40&endDate=2024-40-40'
Can you add correct error messages so users don't have to guess what went wrong?