Access Token Response 200

I’m getting the (“errorText”:“Incorrect username or password. Please try again.”) response. My credentials are the correct values that sign me on to the Tradovate platform no problem. I included the CID and SEC as well. I don’t really understand why this is occuring.

Hello @joeltholton,

Please send an example of the JSON data you are sending (omitting your personal data, of course), or the code that you are using to construct the request. Also double check the URL that you are using is correct - https://demo.tradovateapi.com for demo account use, https://live.tradovateapi.com for live account use.

I appreciate the help. I solved the issue. I am using the requests module in Python so things were a tad out of place. This is the correct method in Python for anyone who is curious.

response = requests.post(‘https://demo.tradovateapi.com/v1/auth/accesstokenrequest’, headers=headers, data=data)

1 Like