Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The JSON value could not be converted to System.Int64 on 'updated' property #121

Closed
nswilder opened this issue Apr 14, 2022 · 0 comments · Fixed by #122
Closed

The JSON value could not be converted to System.Int64 on 'updated' property #121

nswilder opened this issue Apr 14, 2022 · 0 comments · Fixed by #122
Labels
bug Either the bug, or the bug fix

Comments

@nswilder
Copy link
Contributor

Calling StockProfiles.InsiderTransactionsAsync for AAPL throws a JSON int64 out of bounds error.

IEX response:
...
"updated":1709268016103.4824
...

System.Text.Json: The JSON value could not be converted to System.Int64.
Either the JSON value is not in a supported format, or is out of bounds for an Int64.

PR #119 and #120 address exactly the same issue, by changing the 'updated' property from a long to a decimal.

IEXCloud provides no documentation on the 'updated' property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Either the bug, or the bug fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants