I believe it is a bug from Alpaca system on the crypto’s? As last week I was getting another error again on the crypto’s on “get_all_assets” (for stock this was working), and I had to upgrade the module to version 0.8.2 to see it fixed. So I suspect something wrong on the crypto’s app has yet to be fixed…
I also tried to replicate their basic procedure for crypto request (Getting Started | Alpaca Docs), to see if I was doing anything wrong, but I can see the same error again…
I found the issue. In the requests URL it seems the parameter for the feed is “CryptoFeed.US” where in the API docs it is just ‘us’. To fix this in the python SDK I set the feed parameter to ‘feed = “us”’ which fixed the request and validated it. In the URL above you just need to change the ‘CryptoFeed.US’ part to ‘us’. Let me know if it works for you!