Skip to main content

Recaptcha enterprise - invalid API key response

  • April 12, 2024
  • 1 reply
  • 295 views

Forum|alt.badge.img

I am attempting to set up enterprise Recaptcha integration, and have reached the stage of making the assessment call from our application server via a REST API call. However when making this API call I'm receiving the following error response:

 

{ "error": { "code": 400, "message": "API key not valid. Please pass a valid API key.", "status": "INVALID_ARGUMENT" } }

 

 Can you please clarify the difference between the values required for the KEY_ID and API_KEY fields, and where to find the required values for both? The "use an API key" section of the documentation doesn't give sufficient detail.

1 reply

JoshD
Staff
Forum|alt.badge.img+2
  • Staff
  • June 25, 2024

Hi zz_,

Josh from the reCAPTCHA team here. What you want to use for this is a Google Cloud API Key. The instructions on creating, utilizing, and securing those key types are found here.