java.lang.IllegalArgumentException: Unable to conv...
# ask-ai
r
java.lang.IllegalArgumentException: Unable to convert connector state from global to stream. Please reset the connection to continue.
k
The error message:
Copy code
java.lang.IllegalArgumentException: Unable to convert connector state from global to stream. Please reset the connection to continue.
indicates that Airbyte is unable to automatically migrate the saved state for your connection from the "global" state format to the "stream" state format. This typically happens when a connector is upgraded and changes how it manages state, which is common in recent connector updates. Resolution: You need to reset the connection to clear the old state and allow Airbyte to start fresh with the new state format. This is a standard requirement when upgrading connectors that change their state management approach. How to reset the connection: 1. Go to the Connections page in the Airbyte UI. 2. Select the affected connection. 3. Click on the Replication tab. 4. Click Refresh source schema (if available) and review any schema changes. 5. Click OK and then Save changes. 6. Make sure the Reset affected streams option is checked (if prompted). 7. Click Save connection. This will reset the data in your destination and initiate a fresh sync, resolving the state incompatibility issue. For more details, see the [Airbyte documentation on resetting data](https://docs.airbyte.com/platform/operator-guides/clear) and examples of similar upgrade/reset requirements in connector migration guides, such as for Jira, Trello, and Typeform sources, where a reset is required after a breaking state format change [Jira Migration Guide](https://docs.airbyte.com/integrations/sources/jira-migrations#upgrading-to-100), [Trello Migration Guide](https://docs.airbyte.com/integrations/sources/trello-migrations#upgrading-to-100), [Typeform Migration Guide](https://docs.airbyte.com/integrations/sources/typeform-migrations#upgrading-to-110). Why is this necessary? Airbyte supports three state types: Stream, Global, and Legacy. When a connector changes from using "global" state (shared across streams) to "stream" state (isolated per stream), the formats are not compatible, and a reset is required to avoid data inconsistencies and errors. This is a documented behavior in the Airbyte protocol [State Types](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#state-types). If you continue to see issues after resetting, please ensure you are using the latest connector versions and that the reset was successful.