Empty body with 200 response to Sales endpoint

jeffreymbjeffreymb Member Posts: 4
edited June 2018 in Development
Every time I execute the following (sanitized) request I get a 200 response, but an empty response body. Very occasionally I'll get a 502 response.

I suspect it is something similar to https://community.lightspeedhq.com/en/discussion/473/empty-results-from-order-endpoint, but since I'm only requesting a single item, it seems a little hard to imagine. Any help from the Lightspeed staff?

My guess is that there is some corrupted data or something.


  • jeffreymbjeffreymb Member Posts: 4
    I've narrowed it down to a specific sale. This sale has 3,546 lines, which, similar to the issue with the orders endpoint I linked above, is probably causing the server's php process to hit the memory_limit.
  • jamesratcliffejamesratcliffe Administrator, Lightspeed Staff Posts: 160 moderator
    @jeffreymb Yes, it's probably a memory error. Can you send me the accountID and saleID in a private message? Thanks.
    James Ratcliffe
    Lightspeed HQ
Sign In or Register to comment.