googleapis / googleapis/google-api-nodejs-client
Unknown name "personFields": Cannot bind query parameter. Field 'personFields' could not be found in request message.
Open
type: question
- Dominant language
- TypeScript
- Stars
- 12.2k
- Forks
- 2k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 24
Description
Hi, all. I'm attempting to retrieve the contacts within a contact group. It seems I've done this correctly, as my code shows; however, it claims that there is no "personFields" parameter, but there is. Thank you.
```
people.people.get({
auth: oauth2Client,
personFields: ['phoneNumbers'],
resourceName: group.resourceName
}).then((response) => {
console.log(response);
}).catch(err => res.send("Sorry, there was an error completing your request. Please try again, or contact the web master."));
```
Contributor guide
Assessment
This issue has not been assessed yet.