Always Authentication error 10000 when using API for getting DNS record ID

Hello! I am using the API for and it always shows me this error. The API Key works, and the email is also right, I don’t know what to do.

My file:
(first line)curl -X GET
type=A&name=***.tk” -H “X-Auth-Email: ***” -H “X-Auth-Key: ***” -H “Content-Type:
(new line)pause

Is that your Global API Key? And this is on a regular account with just the one user? (not some sort of shared account)

If you paste the command you used (minus the sensitive info), I’ll test it on my account.

No its not the global key, and im trying to get the record id as you said you did it this way in some other posts.

Then it’s probably a permissions issue with the API Token. What settings did you use?

My permissions for this token are DNS:Read, as said in the API docs.

Try: Authorization: Bearer BLAHBLAHKEY
instead of X-Auth-Key


Ayyy :partying_face: it works! Thanks!

1 Like

This topic was automatically closed after 31 days. New replies are no longer allowed.