HTTPError: 500 Server Error: Internal Server Error for url: https://data.alpaca.markets/v1/bars/

I know the v2 market data switch is happening, is this error perhaps related to that? I see v1 in the URL.

HTTPError: 500 Server Error: Internal Server Error for url: [https://data.alpaca.markets/v1/bars/](https://data.alpaca.markets/v1/bars/

I see this with the alpaca-trade-api-0.53.0 python package

1 Like

Same goes on for me using v2 API since Friday 02/19 night. My code:

import alpaca_trade_api as tradeapi
self._api = tradeapi.REST(API_KEY, API_SECRET, APCA_API_BASE_URL, 'v2')
barset = self._api.get_barset('AAA', 'day', limit=7)

The command fails (exception is raised) with response ‘internal server error occurred’. If this command no longer works, what is the new command to get a barset?

Working for me now but I am finding some symbols don’t have any data