Bug in historic_async.py

I’m brand new at this and I’ve been trying some of the samples. The historic_async.py (GitHub - alpacahq/alpaca-trade-api-python: Python client for Alpaca's trade API ) and when I run it I get the following error (200 times):

Got an error: 0, message=‘Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8’, url=URL(‘https://paper-api.alpaca.markets/v2/stocks/PEBO/bars?adjustment=raw&start=2022-05-01&end=2022-06-30&timeframe=1Day&limit=1000’)

Could somebody please point me in the right direction?

best regards