Skip to content

Missing data in the response data #986

@drkdelaney

Description

@drkdelaney

Related Product
Which product is this question related to?
Calendar

Describe the question
I'm trying to use the endpoint: calendar/v2/tags/{tagId}/events to get all of the events with that tag id. When I use it, it is missing data in the attributes from the response body.

What have you tried that worked?
When I use the API explorer (https://api.planningcenteronline.com/explorer/calendar/v2/tags/{tagId}/events)the data returns what I expect.

What have you tried that didn't work?
When I use a javascript fetch with my API token to that endpoint the response is missing data.

Additional context
Here is a calendar attribute from the explore:

"approval_status":"A"
"created_at":"2022-05-17T05:17:15Z"
"description":NULL
"image_url":NULL
"name":"test"
"percent_approved":100
"percent_rejected":0
"registration_url":"https://########.churchcenter.com/registrations/events/{id}"
"summary":NULL
"updated_at":"2022-05-17T05:17:35Z"
"visible_in_church_center":false

These are the properties in my fetch attribute response:

approval_status: 'A',
      archived_at: '2022-05-17T08:06:02Z',
      created_at: '2022-05-17T05:17:15Z',
      details: null,
      image_url: null,
      name: 'test',
      percent_approved: 100,
      percent_rejected: 0,
      updated_at: '2022-05-17T05:17:35Z',
      visible_in_church_center: false

I have..

  • Reviewed the documentation found at https://developer.planning.center/docs
  • Searched for previous issues answering this question
  • Removed all private information from this issue (credentials, tokens, emails, phone numbers, etc.)
  • Reviewed my issue for completeness

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions