alpacahq / Alpaca-API

The Alpaca API is a developer interface for trading operations and market data reception through the Alpaca platform.
https://alpaca.markets/
141 stars 13 forks source link

OAuth2 returns "invalid_client" error #179

Closed lvca closed 3 years ago

lvca commented 3 years ago

Describe the bug OAuth request returns {"code":40110000,"message":"invalid_client"} in the last hours.

Expected behavior A valid JSON with the token.

Desktop (please complete the following information):

Additional context The client id used is unchanged for 1y. Checked on my account and it matches with the one passed.

andylebo20 commented 3 years ago

any update on this? getting same error

captainsalt commented 3 years ago

I am also getting the same error

umitanuki commented 3 years ago

The original question was resolved by adding application/x-www-form-urlencoded to the request header. This is per RFC

If this is not the cause, please open a new issue with the details.

mjKosmic commented 1 year ago

I am having this issue and i have set the header