Access Token not working

When using an access token instead of client oAuth keys getting the following error

{
  validation: null,
  error: [ 'token contains an invalid number of segments' ]
}

What endpoint did you use the access key for? The error message is a JWT (JSON Web Token) error, which is only used in the case of oAuth.

Access keys are write-only and cannot be used to read statistics.

Hi @Marvin I was using it to create a domain

POST /api/v1/domain

Sorry, that won’t work. Access keys are write-only. For the user-level client you’ll have to use oAuth and create it on the account settings page.

1 Like