Internal Server Error on get_clock()

The used code:

import alpaca_trade_api as apca
from alpaca_trade_api.entity import Clock
class HelloWorld:
self.apca = apca.REST(api_version=‘v2’)
def get_clock(self) → Clock:
“”“Get clock wrapper from Alpaca.”“”
return self.apca.get_clock()

I haven’t changed anything in my code and it has been running for some weeks without errors, yesterday (July 27th) before market hours, (while waiting for markets to open), the following error occurred:
File “/home/pi/Documents/ML40/src/bot/ml40.py”, line 326, in time_to_market_open
clock = self.get_clock()
File “/home/pi/Documents/ML40/src/bot/ml40.py”, line 312, in get_clock
return self.apca.get_clock()
File “/home/pi/Documents/ML40/venv/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 1005, in get_clock
resp = self.get(‘/clock’)
File “/home/pi/Documents/ML40/venv/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 250, in get
return self._request(‘GET’, path, data)
File “/home/pi/Documents/ML40/venv/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 213, in _request
return self._one_request(method, url, opts, retry)
File “/home/pi/Documents/ML40/venv/lib/python3.9/site-packages/alpaca_trade_api/rest.py”, line 234, in _one_request
resp.raise_for_status()
File “/home/pi/Documents/ML40/venv/lib/python3.9/site-packages/requests/models.py”, line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://paper-api.alpaca.markets/v2/clock

Currently it is working again, but I would like to avoid this error in the future. Any ideas what might have caused this error? Alpaca server down at that time? If so, can we check the planned maintenances somewhere?
Thanks in advance.

Kind regards

Kind regards