Skip to main content
All CollectionsIntegrationsGeneral documentationAPI support
Troubleshoot API authentication problems
Troubleshoot API authentication problems

Learn what steps to take if you run into problems with authenticating your API credentials.

Gareth Burroughes avatar
Written by Gareth Burroughes
Updated over 4 months ago

There are a lot of great features in Dotdigital which you can access through our API, so if you’re having issues with authenticating your API credentials you need to know what to do to get things back up and running as soon as possible.


Before you start

Things you need to know:


Troubleshoot authentication problems

The possible reasons for an authentication failure of an API user are:

  • The credentials being used are incorrect.

  • The API user is locked.

  • The API user is disabled.


Incorrect credentials

The first thing to check is that you're using the correct username and password details when authenticating, especially if you are using the same API user for more than one purpose.

If you or a member of your team have recently changed your API password, it may not have been updated in all locations. One or more of your systems may still be trying to connect using an old password.


Change the password for an API user

  1. Expand the User menu and select Settings.

  2. Go to Access > API users.

  3. Select the Edit icon to the right of the API user.

  4. Enter the new password in the Password and Confirm password fields, ensuring they match exactly.

  5. Select SAVE.

  6. Update any system using this API user with the new password you have set.


Locked API user

Your API user becomes locked in either of the following circumstances:

  • You enter an invalid password for an API user five times

  • Your account is disabled.

Re-enabling the account does not automatically unlock an API user.


Unlock an API user

  1. Expand the User menu and select Settings.

  2. Go to Access > API users.

  3. Select the Edit icon for the locked user. You can see if a user is locked by checking the Status column.

  4. On the Manage user page, select Unlock.

If you’re unsure about or are unable to identify the reason that a user is locked, you can contact our Support team for assistance.


Re-enable an API user

  1. Expand the User menu and select Settings.

  2. Go to Access > API users.

  3. Select the Edit icon to the right of the disabled API user.

  4. Set the status of the user to Enabled using the radio button.

  5. Select SAVE.

If, after double-checking, the authentication problem persists despite the fact that you think you're using the correct credentials and the API user is enabled, we'd recommend deleting the API user and creating a new one.

Did this answer your question?