https://cloudsearch.googleapis.com/v1:initializeCustomer throws 500 error

Hello!

I am new to Google Cloud Search. My application will run outside the Google ecosystem and index data to Google Cloud search. I am working through the documentation to enable third-party support (https://developers.google.com/cloud-search/docs/guides/project-setup#5_initialize_third-party_support).

But when I send a request to /v1:initializeCustomer endpoint, I get a rather unhelpful 500 error.

*>curl --request POST *
*‘https://cloudsearch.googleapis.com/v1:initializeCustomer’ *

{
“error”: {
“code”: 500,
“message”: “Internal error encountered.”,
“status”: “INTERNAL”
}
}

Looking at the docs of the method (https://developers.google.com/cloud-search/docs/reference/rest/v1/TopLevel/initializeCustomer), it needs a few OAuth scopes. But I can’t figure out where to set those. I am assuming this is the reason for the error, but not really sure. Is there anything else I should be looking at?

Hi @dewdrop ,

Unfortunately, this forum does not cover the Google Search API. Please try searching for your question here, and if needed you can post to this community support channel:
https://support.google.com/?sjid=4827178921112724041-NA

I hope that helps!