Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1325

`get_shifts` api return 404

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 1325

Trending Articles