React with Vite. Plain JavaScript. Same code have worked for days. This morning it returned a 403 with the message “Subscription does not permit querying news”.
What changed? Cant find any updates in the API changelog.
Same situation for me. Worked one day with the base_url = 'https://paper-api.alpaca.markets'
then next day stopped working.
Then I got it to work with base_url = 'https://api.alpaca.markets'
But now neither are working. I just get the error APIError: Subscription does not permit querying news
Is this a bug? Can we get a fix on this please, so that the API is reliable?
@Jz80 The websocket streaming wasn’t impacted and should be up and running. Perhaps there wasn’t any news because it was before market hours? Are you still not seeing anything?
I haven’t received any news in the last hour. My news code is brand new, but I’m using the same code that I’ve been using for the stocks, so the websocket code should be ok.
Login and authorization seems to work.
I don’t have to subscribe for the news as I do for the stocks, isn’t it?