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?