New to Alpaca? Create your Trading API account today! Sign Up Today
Aloha,
I am unable to create a connection to either Live or Paper trade API’s. I confirmed I am using the right credentials for each endpoint but keep getting and this error.
“access key verification failed : access key not found (Code = 40110000)”
Could you share your code? Minus your keys of course.
No code other than setting up postman. Would love to start coding but can’t if the API won’t let me perform a validation.
Here is a screenshot of the Postman output
and the URL I’m hitting is…
https://api.alpaca.markets/v2/orders?APCA-API-KEY-ID=MyKey&APCA-API-SECRET-KEY=mySecretKey
Gotcha! The problem is you’re passing in the keys as query parameters within the URL, when actually Alpaca’s keys need to be passed in as header parameters.
So in Postman, just enter the keys under the Headers tab instead of the Params tab: