I’m trying to get shift data of the labor using the python sdk, but I get this error:
{'errors': [{'code': 'NOT_FOUND',
'detail': 'The requested resource could not be found.',
'field': 'id',
'category': 'INVALID_REQUEST_ERROR'}]}
This is the code that I’m trying to run:
import uuid
myuuid = uuid.uuid4()
shifts = squareClient.labor.get_shift(myuuid).body
Note 1: Client data is fine and I can retrieve data for other sections (bookings for example) without any problem.
Note 2: I tried the api explorer of Square, and even in there I get the 404 error. (GET /v2/labor/shifts/{id} - Square API Explorer)
3 posts - 2 participants