Description
When invoking the bulkExport endpoint, limit and startAfter will appear to be ignored if included as request body.
Solution
This happens was sending these as JSON body data instead of URL query parameters. Changing the request to use URL params allows the endpoint to receive the parameters successfully.
If using python:
- Build a params dictionary with fileType, limit, and startAfter.
params={"fileType":"SDF","limit":10,"startAfter":"}- Call the endpoint with requests.post(export_url, headers=HEADERS, params=params) and do not include a JSON body.
Comments
0 comments
Article is closed for comments.