The Lightspeed server returned an invalid HTTP code: 502

juraj_tothjuraj_toth Member Posts: 4

Hi there,


our Lightspeed (US shop) integration suddenly stopped working after almost 2 years. When trying to retrieve new orders and create them in our ERP via an API integration we have with Lightspeed, we get the following error 'The Lightspeed server returned an invalid HTTP code: 502'.

Currently we have no other option than create those orders in our ERP (NetSuite) manually to be able to process them further.


Please not that:

- the calls to the EU web shop are not failing

- a specific call to the US web shop is failing, the one where a custom script is sending specific order numbers

- this call fails returning a server error from the Lightspeed side (502 bad gateway)

- We tried the same exact call from postman (a client tool to test HTTP calls), and it is not failing, so the problem is when the call is originated from NetSuite


Can you please tell us why this call is failing?


Please bear in mind that a manual test with postman is working fine.

The following details should be enough to investigate the issue:

- webshop ID: 611963

- timestamp of a call that returned the error: 2020-04-12T21:18:53 GMT

- URL called (same that worked with the manual test): https://api.shoplightspeed.com/en/orders.json?number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23965&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD24000&number[]=ORD24001&number[]=ORD24002&number[]=ORD24004&number[]=ORD24012&number[]=ORD24013&number[]=ORD24014&number[]=ORD23327&number[]=ORD23493&number[]=ORD23491&number[]=ORD23620&number[]=ORD23652&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620&number[]=ORD23652&number[]=ORD23620


Thank you!

Kind regards,

Juraj

1 comment

Sign In or Register to comment.