<@U04SE163WC8> stop condition should be when items...
# ask-ai
a
@kapa.ai stop condition should be when items is null modify this stop_condition: "{{ 'Items' not in response }}"
k
To modify the stop condition so that it stops when
items
is null, you can adjust the
stop_condition
in your pagination strategy. Based on the information provided, you can use a Jinja placeholder to define this condition. Here is how you can modify the `stop_condition`:
Copy code
yaml stop_condition: "{{ 'items' not in response }}"
This condition will stop the pagination when the
items
key is not present in the response. For more detailed information on how to configure pagination and stop conditions, you can refer to the [Airbyte documentation on pagination](https://docs.airbyte.com/connector-development/connector-builder-ui/pagination#cursor-pagination). If you need further assistance or if this doesn't resolve your issue, please reach out on the Airbyte Slack channel for more support.