-
Notifications
You must be signed in to change notification settings - Fork 144
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
Informing user about subscription #231
Comments
How did you get it to display the underlying error message? |
The error message originates from the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Alpaca Team,
Not a big issue here but would be nice as an addition to new users. When running the example code, I got the following error message with no other context.
I had to fork and investigate to figure out that I was getting an error message:
{'code': 42210000, 'message': 'your subscription does not permit querying data from the past 15 minutes'}
when attempting to hit the endpoint
https://data.alpaca.markets/stocks/AAPL/bars
.It would be nice to bubble this error up to inform the user without requiring them to investigate. Also, it would be helpful to just mention the required subscription tier in the README.md :)
The text was updated successfully, but these errors were encountered: