# Market Data API - Random Server Outages?

**URL:** <https://forum.alpaca.markets/t/market-data-api-random-server-outages/10865>\
**Category:** Alpaca Market Data\
**Created:** [October 19, 2022, 12:55am UTC](https://forum.alpaca.markets/t/market-data-api-random-server-outages/10865 "2022-10-19T00:55:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anpunjabi](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@anpunjabi](https://forum.alpaca.markets/u/anpunjabi)\
**Post date:** [October 19, 2022, 12:55am UTC](https://forum.alpaca.markets/t/market-data-api-random-server-outages/10865/1 "2022-10-19T00:55:32Z")

</div>

I have been using the market data api with an unlimited subscription. Specifically, I have been using the alpaca-py SDK and trying to get historical data for about 500 companies during a given time period. I run a request in the following format:

request\_params = StockBarsRequest(  
symbol\_or\_symbols=tick\_list,  
timeframe=timeframe.TimeFrame(30, timeframe.TimeFrameUnit[‘Minute’]),  
start=datetime.datetime.now(tz=pytz.timezone(“UTC”))-datetime.timedelta(30),  
end=datetime.datetime.now(tz=pytz.timezone(“UTC”))  
)  
bars = alpaca\_client.get\_stock\_bars(request\_params)

where tick\_list is a list of strings corresponding to stock tickers. In many instances, I get an internal server error like this one:

{“code”:50010000,“message”:“internal server error occurred”}

However, this does not always occur. For example, I ran this same query a few moments later and it ran fine. Is there a rate limit that I am hitting? If so, I would have expected to get a 429 error. The status page ([https://status.alpaca.markets/](https://status.alpaca.markets/)) didn’t seem to indicate any server outage either. Does anyone know what might be going on?
