Response:
{“success”:false,“errors”:[{“code”:6003,“message”:“Invalid request headers”,“error_chain”:[{“code”:6111,“message”:“Invalid format for Authorization header”}]}],“messages”:,“result”:null}
Response:
{“success”:false,“errors”:[{“code”:6003,“message”:“Invalid request headers”,“error_chain”:[{“code”:6103,“message”:“Invalid format for X-Auth-Key header”}]}],“messages”:,“result”:null}
OK - still good to have a note here there’s a practical difference between API Keys and API Tokens.
In my case, I just wanted to get it working following some examples - with ddclient - which was a bit of a pain.
Either way - using a global API key for DNS changes sounds a bit dangerous to me. Having said that - I had to give my token access to all DNS zones as limiting it to one zone ended up with an “unauthorized” error.
… but that’s for another discussion