Haki Dere
07/02/2023, 12:43 PMairbyte_api_client.exceptions.ApiTypeError: Invalid type for variable 'non_breaking_changes_preference'. Required value type is NonBreakingChangesPreference and passed type was str at ['non_breaking_changes_preference']
What can be the reason?kapa.ai
07/02/2023, 12:43 PMkapa.ai
07/02/2023, 12:44 PMnon_breaking_changes_preference variable in your connection configuration. This error typically occurs when the type of the variable in the configuration does not match the expected type. In this case, the non_breaking_changes_preference variable is expected to be of type NonBreakingChangesPreference, but a string (str) was provided instead. This issue has been reported by several users when using the octavia apply command to import connections into a new Airbyte instance. It seems to be a compatibility issue between different versions of Airbyte and Octavia. One workaround that has been suggested is to remove the keys causing the issue from the connections.yaml file before applying the import. However, this might not be the best solution as it involves manually editing the configuration file. Another solution is to ensure that the versions of Airbyte and Octavia you're using are compatible. Some users have reported that the issue was resolved when they updated both Airbyte and Octavia to the latest versions. If you're still facing the issue, I recommend following the ongoing discussions on the [Airbyte Slack](https://airbytehq.slack.com/archives/C021JANJ6TY/p1671822414723089) and [Airbyte Forum](https://discuss.airbyte.io/t/3145) for any updates or potential fixes.Haki Dere
07/02/2023, 12:46 PMkapa.ai
07/02/2023, 12:46 PMkapa.ai
07/02/2023, 12:47 PMbash curl -s -o- <https://raw.githubusercontent.com/airbytehq/airbyte/master/octavia-cli/install.sh> | bash This will add the Octavia alias to your bash profile and create an .octavia file where you can configure environment variables and secrets. For more details, you can check the [Octavia CLI documentation](https://github.com/airbytehq/airbyte/blob/master/octavia-cli/README.md#install) and the [tutorial on version control Airbyte configurations with Octavia CLI](https://airbyte.com/tutorials/version-control-airbyte-configurations). Source: [Airbyte Tutorials](https://airbyte.com/tutorials/version-control-airbyte-configurations)Haki Dere
07/02/2023, 12:56 PMkapa.ai
07/02/2023, 12:56 PMkapa.ai
07/02/2023, 12:57 PMHaki Dere
07/02/2023, 3:53 PMconnections.yamlHaki Dere
07/02/2023, 3:53 PMSai
07/19/2023, 6:45 PMHaki Dere
07/19/2023, 6:54 PMHaki Dere
07/19/2023, 6:55 PMoctavia --airbyte-url <YOUR_AIRBYTE_HOSTNAME> import connectionsHaki Dere
07/19/2023, 6:58 PMconfigurations.yaml
• sources
• destinationsHaki Dere
07/19/2023, 6:59 PMnon_breaking_changes_preference and so onHaki Dere
07/19/2023, 6:59 PMSai
07/19/2023, 7:01 PMHaki Dere
07/19/2023, 7:58 PMoctavia --airbyte-url <YOUR_NEW_AIRBYTE_HOSTNAME> apply