API Request Failed: GET /api/v4/user/api_key (undefined)

api

#1

I got this error message
API Request Failed: GET /api/v4/user/api_key (undefined)

is this just temporary?


#2

I am not aware of that being a valid API endpoint. The only calls against the user endpoint are documented here: https://api.cloudflare.com/#user-properties

Could you clarify what you are looking to accomplish?


#3

Getting it in the Admin UI when on the firewall page (or another by chance?) It was blowing up for me earlier as well. I believe our team is aware and researching.

Should just be temporary… sorry for the inconvenience.


#4

I am facing the same issue for last 3days, catch plugin also not detecting API, green lock also gone from every browser, also cant generate new API key, is this temporary? i dont think so, please help me to solve the issue.

Thanks


#5

The reason you’re not seeing a green lock is because the site is serving mixed content. So, that is unlikely related to any API issue(s) you may be having.

Not sure about your plugin, but the API is working for your account returns results (I ran the following with values for your domain with success).

curl -X GET "https://api.cloudflare.com/client/v4/zones" \
 -H "X-Auth-Email: your-email" \
 -H "X-Auth-Key: your-auth-key" \
 -H "Content-Type: application/json"

You might check that your API key is correct in whatever plugin you’re using.


#6

when i click on view global api key i get below error message:

API Request Failed: GET /api/v4/user/api_key (undefined)

Also cant change api key from the cloudflare account.

at the moment site is not synced with cloudflare,

please help