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

Unable to source data to test Variant Workflow Step Changed in Kentico Kontent trigger #4

Closed
bwlng opened this issue Sep 17, 2021 · 1 comment

Comments

@bwlng
Copy link

bwlng commented Sep 17, 2021

Brief bug description

It's not possible to set up the Variant Workflow Step Changed in Kentico Kontent at Zapier in a project that contains more than 2000 items. It appears the Zap makes a request to https://preview-deliver.kontent.ai/{{PROJECT_ID}}/items and fails with the following error.

The maximum response size of '2001' items was reached. Update your query to limit the response size or use items-feed endpoint. See https://docs.kontent.ai/reference/delivery-api for more details.

Repro steps

  1. Create a new zap using the Variant Workflow Step Changed in Kentico Kontent trigger
  2. Select Variant Workflow Step Changed as the trigger event
  3. Choose an account w/ more than 2000 items
  4. Configure web hook name, workflow steps, language, and content type for samples
  5. Test trigger, see error

Expected behavior

Fetch sample data without failing

Test environment

  • Platform/OS: Zapier

Additional context

The request for sample data should use the items-feed endpoint to avoid the API limitation, apply the filters selected on the Zap to reduce the number of items fetched, or have the ability to exceed the API limits so it doesn't fail to fetch sample data.

This Zap does work as expected on another Project in our account, but I believe that project has been grandfathered in so it can fetch more items from the items endpoint.

I believe this is the call used to get sample data from the WorkflowStatusChanged trigger.

Screenshots

Screen Shot 2021-09-16 at 5 47 53 PM

@JiriLojda JiriLojda mentioned this issue Nov 22, 2022
4 tasks
@JiriLojda
Copy link
Member

Fixed by #6

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

2 participants