-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to get Google Business Location Attribute Details #2540
Comments
Hi @snehupadhyay2012 Thanks. |
When i run this above code i am getting below fatal error.
And when i am passing read_mask field like i was doing while fetching store.
It is again throwing below error. |
@saranshdhingra - Any update on this? |
Hello Team,
We are using google/apiclient( v2.15.1 ), And i want to get the location attributes so i am using Resource Location and calling the getAttributes function as per documentation. But i am getting below error.
{ "error": { "code": 400, "message": "Request contains an invalid argument.", "errors": [ { "message": "Request contains an invalid argument.", "domain": "global", "reason": "badRequest" } ], "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.BadRequest", "fieldViolations": [ { "field": "read_mask", "description": "Field is required" } ] } ] } }
But even if i pass read_mask optional param i am getting error.
unknown parameter: 'readMask'
But when i am calling HTTP API : https://mybusinessbusinessinformation.googleapis.com/v1/locations/5544303602100449194/attributes
i am getting the response. Please look into this issue.
The text was updated successfully, but these errors were encountered: