Skip to content

Comments

Fix example to have correct params#700

Merged
justinpolygon merged 2 commits intomasterfrom
jw-fix-raw-example
Jul 2, 2024
Merged

Fix example to have correct params#700
justinpolygon merged 2 commits intomasterfrom
jw-fix-raw-example

Conversation

@justinpolygon
Copy link
Collaborator

@justinpolygon justinpolygon commented Jul 2, 2024

Fixed the example to have the correct params. You cannot pass date eq (timestamp=) with a less than (timestamp.lt=). It needs to be either or.

polygon.exceptions.BadResponse: {"status":"ERROR","request_id":"71f9a7ec439a46e7884c38c893daddcc","error":"failed to parse timestamp query params: query parameters cannot have the combination of equal and any other param gt, gte, lt, lte"}

Fixed the example to just pass the date.

@justinpolygon justinpolygon merged commit 479cca3 into master Jul 2, 2024
@justinpolygon justinpolygon deleted the jw-fix-raw-example branch July 2, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants