Skip to content
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

Empty Households #1258

Open
4 tasks done
michaelhvisser opened this issue Dec 26, 2024 · 0 comments
Open
4 tasks done

Empty Households #1258

michaelhvisser opened this issue Dec 26, 2024 · 0 comments

Comments

@michaelhvisser
Copy link

Affected Product
Which product does this bug affect?
People API

Describe the bug
When getting household data via the API. I am getting results back for people that do not exist in the current database. I am wondering if they have been deleted but the household was not removed. They also have zero household members and no primary contacts.

Here is an example object for reference.

{ "data": { "type": "Household", "id": "14549429", "attributes": { "avatar": "https://dio0bc3q0omo2.cloudfront.net/429-square.png", "created_at": "2022-04-13T02:37:56Z", "member_count": 0, "name": "Test Household", "primary_contact_id": null, "primary_contact_name": "Test Person", "updated_at": "2022-04-14T00:17:05Z" }, "relationships": { "primary_contact": { "data": null }, "people": { "data": [] } }, "links": { "household_memberships": "https://api.planningcenteronline.com/people/v2/households/14549429/household_memberships", "people": "https://api.planningcenteronline.com/people/v2/households/14549429/people", "self": "https://api.planningcenteronline.com/people/v2/households/14549429" } }, "included": [], "meta": { "can_include": [ "people" ], "parent": { "id": "405641", "type": "Organization" } } }

To Reproduce
Pulling the data via Postman

Expected behavior
I would expect this data would not show up in the response.

Additional Context:

  • Endpoint: people/v2/households/{ID}
  • Language: Postman and Golang for the code.
  • Authentication: Personal Access Token

I have..

  • Reviewed the documentation found at https://developer.planning.center/docs
  • Searched for previous issues reporting this bug
  • Removed all private information from this issue (credentials, tokens, emails, phone numbers, etc.)
  • Reviewed my issue for completeness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant