Live and Paper Calls Always 403 Forbidden

I’m trying to test the first endpoint given in the Getting Started section of the docs (https://paper-api.alpaca.markets/v2/account)

I tried using the key and secret ids originally provided and newly generated ones after resetting the paper account. No matter what, I always get a 403 forbidden response.

I’ve tried a basic curl -X GET to the url with the headers set and a curl --location with --headers that I saw suggested in another thread. Nothing works.

Here’s the last call I tried with demo account keys that were provided to someone else. This one also returned some Bad hostname responses. I want to be able to use this platform, but so far this has been an awful experience.

curl --location https://paper-api.alpaca.markets/v2/account
–header ‘APCA-API-KEY-ID: PKZ4HPYI4PMMCXZ4XEIS’
–header ‘APCA-API-SECRET-KEY: J3sV2W1nGK4PchSxb2jR1g5daSovyFcqLbgAABxB’
{“message”: “forbidden.”}
curl: (3) URL rejected: Bad hostname
curl: (3) URL rejected: Bad hostname