Hi all, we've been noticing when calling the Orders API that we're getting a number of errors of this type:
https://connect.squareup.com/v2/orders/<ORDER ID> (Params: ๐ 404 Not Found: {"errors": [{"code": "NOT_FOUND","detail": "Order not found for id <ORDER ID>","category": # "INVALID_REQUEST_ERROR"}]}
The order Id appears to be of valid format, and in fact comes from the invoices that we first extract via the /invoices endpoint.
As I understand, an order is the primitive for all invoices. What possible scenarios would result in an existing invoice with a missing associated order?
Would appreciate any clarification on this!
Not sure if this is related (although it appears for the same order id as the above error), but we're also getting this:
failed while calling Get "https://connect.squareup.com/v2/orders/<ORDER ID>": read tcp 10.40.130.65:43612->172.66.0.47:443: read: connection reset by peer
Could this be related?
Hey @csnsp, This is a weird issue. I think you would get better help on the Dev forums: https://developer.squareup.com/forums/ rather than here since its for Sellers. Have you tried a curl request(or something like Postman) to see if you get the same thing? This would just help narrow down the possibilities
Hi Manny, thanks for pointing me in the right direction.
I'm trying to set up an account for testing, but having trouble adding data, which I've posted about separately here: https://community.squareup.com/t5/Online-Store/dashboard-sites-redirecting-to-dashboard-unable-to-cr...
(Hopefully not also in the wrong place!)
Square Community
Square Products