500 API Error

posaccountingposaccounting Member Posts: 1

We are able to successfully generate the token for the authentication. However, we are getting a 500 error while doing a simple API Call for the inventory list.

We have tried using the API Call listed in Swagger and it is throwing an error ,can you please help?

Kindly note that for security purposes, the token has been blanked out.

Sample API Call and response:

curl -X GET --header "Accept: */*" --header "X-Auth-Token: xxxxx" "https://test.lightspeedapis.com/resto/rest/inventory/product

{"fault":{"faultstring":"NullPointerException","detail":{"errorcode":"Internal Server Error”}}

Sign In or Register to comment.