Login
Questions relating to logging into the API and authenticating/authorizing requests.
Last updated
Was this helpful?
Questions relating to logging into the API and authenticating/authorizing requests.
There are two likely scenarios where you can get an invalid credentials error.
You are not the Owner of your app:
While the User Management feature of the Dashboard allows multiple users to login and view the dashboard, only an App's "Owner" username and password will allow you to generate a token. You can view who your App's owner is on the team view
You are using the wrong App Secret for the environment you are trying to login:
While your username and password will be the same across environments (test and live) as will your X-Violet-App-Id, this is not true for your X-Violet-App-Secret.
The X-Violet-App-Secret you retrieve from the Channel dashboard is different depending on the live/test mode toggle. You must use the correct app secret that corresponds to the environment you are trying to login to: test for sandbox-api.violet.io and live for api.violet.io.
Last updated
Was this helpful?
Was this helpful?