box / box-python-sdk

Box SDK for Python
http://opensource.box.com/box-python-sdk/
Apache License 2.0
417 stars 214 forks source link

Box Search API: 400 Bad Request when offset up to 10000 #797

Closed chinh-pd closed 1 year ago

chinh-pd commented 1 year ago

Versions Used

Python SDK: 3.5.0 Python: 3.7

image

lukaszsocha2 commented 1 year ago

Hi @chinh-pd, thanks for reaching us out. The issue you reported is not Python SDK bug, but the standard behaviour of API. See endpoint documentation: https://developer.box.com/reference/get-search/. The offset param has description: Queries with offset parameter value exceeding 10000 will be rejected with a 400 response. If you have any further question regarding Box API please reach Box Support. Best, @lukaszsocha2