mike Trienis
07/15/2025, 9:03 PM;limit=500;offset=5kapa.ai
07/15/2025, 9:04 PMlimit and offset parameters to be included in the URL path (e.g., ;limit=500;offset=5), you should use the custom parameter injection approach. The standard "Inject page size / limit / offset into outgoing HTTP request" option is designed for query parameters, headers, or body, but not for custom path formats. Here's how you can approach this: 1. Disable the standard injection for limit and offset in the pagination form. 2. Use the generic parameter section at the bottom of the stream configuration form. 3. Leverage Jinja expressions and available variables to construct the URL path as needed. For example, you can use variables like next_page_token to dynamically build the path segment. While the documentation provides an example for combining offset and limit into a single query parameter, the same principle applies for path injection: > "You can also use these variables as part of the URL path." > > For example, if you need to set offset and limit in a single query parameter, you can use: > {{ next_page_token['next_page_token'] or '0' }},50 > > Similarly, you can construct a path segment like ;limit={{ page_size }};offset={{ next_page_token['next_page_token'] or '0' }} and append it to your endpoint URL as needed [Custom parameter injection](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/pagination#custom-parameter-injection). Summary: - Disable default injection for limit/offset. - Use the generic parameter section with Jinja to build the custom path. - Reference the appropriate variables for pagination. This approach gives you the flexibility to handle non-standard pagination formats required by some APIs.mike Trienis
07/15/2025, 9:05 PM;limit=500;offset=5kapa.ai
07/15/2025, 9:05 PMkapa.ai
07/15/2025, 9:05 PMlimit and offset are included in the URL path as ;limit=500;offset=5, you should: - Disable the standard injection for limit/offset in the pagination form. - Use the generic parameter section to construct the custom path using Jinja expressions and available variables. While the documentation does not provide an explicit YAML example for this exact path format, it does state that you can use variables as part of the URL path and construct custom parameters using Jinja in the generic parameter section. Here’s how you might approach it, based on the documented pattern: yaml streams: - name: my_stream retriever: type: SimpleRetriever requester: url_base: https://api.example.com/products path: "products;limit={{ page_size }};offset={{ next_page_token['next_page_token'] or '0' }}" paginator: type: DefaultPaginator page_size_option: type: RequestOption inject_into: no_injection # Disable standard injection pagination_strategy: type: OffsetIncrement page_size: 500 page_token_option: type: RequestOption inject_into: no_injection # Disable standard injection Key points: - The path field uses Jinja to inject limit and offset directly into the URL path. - Standard injection is disabled, so the parameters are not sent as query parameters. - The page_size and next_page_token variables are used to control pagination. > "You can also use these variables as part of the URL path." > [Custom parameter injection](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/pagination#custom-parameter-injection) Note: The exact variable names (page_size, next_page_token) and disabling injection (inject_into: no_injection) are inferred from the documented approach. If your Airbyte version uses slightly different variable names or mechanisms, adjust accordingly. If you need a more specific example or if your API requires a different structure, please provide additional details or consult the [custom parameter injection documentation](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/pagination#custom-parameter-injection).mike Trienis
07/15/2025, 9:20 PMlimit=10;offset=5
What you proposed did not work, please verify your sugestionkapa.ai
07/15/2025, 9:20 PMkapa.ai
07/15/2025, 9:21 PMlimit and offset) need to be combined into a single parameter or formatted in a non-standard way. The documentation provides an explicit example for the Prestashop API, which requires a query parameter in the form ?limit=<offset>,<limit>. The recommended approach is to disable the standard injection and use the generic parameter section with Jinja expressions to construct the parameter as needed. However, your required format is limit=10;offset=5 (parameters combined in a single string, separated by a semicolon, and not as standard query parameters). The documentation does not provide an explicit YAML example for this exact case, but it does state: > "To handle these cases, disable injection in the pagination form and use the generic parameter section at the bottom of the stream configuration form to freely configure query parameters, headers and properties of the JSON body, by using jinja expressions and available variables. You can also use these variables as part of the URL path." > [Custom parameter injection](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/pagination#custom-parameter-injection) What this means for your use case: - You should disable the default injection for limit/offset. - In the generic parameter section, you can define a custom query parameter or path segment using Jinja, for example: - For a query parameter: ?pagination=limit=10;offset=5 - For a path: /products/limit=10;offset=5 Example (based on documentation pattern): yaml # In the generic parameter section of your stream configuration parameters: - name: pagination value: "limit={{ page_size }};offset={{ next_page_token['next_page_token'] or '0' }}" Or, if you need it in the path: yaml path: "products/limit={{ page_size }};offset={{ next_page_token['next_page_token'] or '0' }}" Limitations: The knowledge sources do not provide a full YAML example for this exact format, nor do they specify if Airbyte supports injecting a custom-formatted string as a query parameter value or as part of the path beyond the examples given. If your API requires the pagination string to be in the query (e.g., ?pagination=limit=10;offset=5), you can use the generic parameter section as shown above. If it must be in the path, you can use Jinja in the path field. Summary: - Use the generic parameter section with Jinja to construct your custom pagination string. - The documentation confirms this approach for similar cases, but does not provide a full YAML example for your exact format. - If this approach does not work in your environment, it may be a current limitation of Airbyte's connector builder UI. If you need further help, please provide more details about how your API expects the pagination string (query parameter, path, etc.), or consult the [custom parameter injection documentation](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/pagination#custom-parameter-injection) for updates.mike Trienis
07/15/2025, 9:53 PMkapa.ai
07/15/2025, 9:53 PMkapa.ai
07/15/2025, 9:53 PMORDER BY cursor_field ASC to ensure records are processed in the correct sequence, which helps maintain state accurately and avoid missing or duplicating records. The documentation for Snowflake states: > Applies ORDER BY cursor_field ASC to ensure records are processed in the correct sequence > [Snowflake Source - Incremental Sync](https://docs.airbyte.com/integrations/sources/snowflake#incremental-sync) For other sources, Airbyte relies on the cursor value to determine which records are new or updated since the last sync, but the documentation does not require the records to be returned in a specific order (ASC or DESC). The important requirement is that the cursor field is monotonically increasing (i.e., always moves forward), so Airbyte can track progress and avoid re-syncing the same records. In summary: - Ordering by the cursor field (ASC) is recommended and sometimes enforced for correctness, but not always required by Airbyte. - The most important aspect is that the cursor field is suitable for incremental sync (monotonically increasing, not updated after creation, etc.). - If your source allows, returning records in ascending order of the cursor field is best practice for incremental syncs. If your API returns records in descending order, you may need to handle this in your connector logic to ensure state is tracked correctly, but the knowledge sources do not specify a strict requirement for order except in the Snowflake example. If you need more details for a specific connector or scenario, please provide additional context.mike Trienis
07/15/2025, 9:55 PMkapa.ai
07/15/2025, 9:55 PMkapa.ai
07/15/2025, 9:56 PMstream_state) within the Connector Builder UI itself. The documentation and forum discussions focus on state handling in custom connectors and acceptance tests, but do not mention a built-in way to verify state updates interactively in the Connector Builder. If you are finding that stream_state is always empty, this could be due to how the connector is implemented or a limitation/bug in the Connector Builder. There is a known issue where the Connector Builder does not always respect or update the streamState during incremental syncs, especially in parent-child stream scenarios, which may result in full re-extraction or empty state fields. This has been reported as a possible platform limitation or bug, not a configuration issue in the YAML or connector definition itself [Bug - Source connector made with connector Builder do not recognize the last date modification cursor in the connection state "streamState" in incrementa sync](https://github.com/airbytehq/airbyte/issues/61567). Summary: - There is no documented way to test or inspect state updates directly in the Connector Builder UI. - If stream_state is always empty, it may be due to a known limitation or bug in the Connector Builder, not necessarily a misconfiguration on your part. If you need to verify state handling, you may need to export your connector and run it using the Airbyte CLI or in a full Airbyte instance, where you can inspect state messages more directly.