googleapis / googleapis/google-api-nodejs-client

Unknown name "personFields": Cannot bind query parameter. Field 'personFields' could not be found in request message.

Open
#2,849 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.