Renu Fulmali
11/21/2025, 2:27 PMkapa.ai
11/21/2025, 2:28 PMValueError: dictionary update sequence element #0 has length 10; 2 is required indicates that there is an issue when converting the response from your job creation API call into a dictionary. Specifically, the code is trying to do: python dict(self._create_job_response_by_id[job.api_job_id()].json()) This error typically occurs when the .json() method returns a list of lists or a list of something other than key-value pairs, rather than a dictionary (i.e., a JSON object). The dict() constructor expects an iterable of key-value pairs (like a list of tuples or a dictionary), but it is receiving something else. What to check in your Connector Builder configuration: - Job Creation Response Format: Ensure that the API response for the job creation step is a JSON object (dictionary), not a list or another structure. For example, the response should look like: json { "id": "123", "status": "pending" } and not like: json [ ["id", "123"], ["status", "pending"] ] or any other non-dictionary structure. - HTTP Response Format Setting: In the Creation tab, make sure you have selected the correct HTTP Response Format (usually JSON) for your API. If the API returns a different format (like CSV or XML), you need to adjust this setting accordingly. This is a common best practice and is highlighted in the documentation for asynchronous streams[Best Practices for Asynchronous Streams](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/async-streams#best-practices-for-asynchronous-streams). - API Endpoint and Response Validation: Use the "Other Requests" panel in the Connector Builder UI to inspect the actual response from your job creation request. Confirm that it matches the expected structure. Summary of steps to resolve: 1. Double-check the API response for the job creation step. 2. Ensure the response is a JSON object, not a list or other structure. 3. Verify your HTTP Response Format setting in the Creation tab. 4. Use the "Other Requests" panel to debug and inspect the actual API response. If the API you are working with does not return a JSON object, you may need to adjust your configuration or use a different extractor to parse the response correctly. If you continue to encounter issues, please provide a sample of the actual API response you are receiving, so further troubleshooting can be more specific. For more details on best practices and troubleshooting asynchronous streams, see the official documentation: [Best Practices for Asynchronous Streams](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/async-streams#best-practices-for-asynchronous-streams).