Skip to content

Source Salesforce: Update CDK version #36862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 5, 2024
Merged

Conversation

ChristoGrab
Copy link
Contributor

@ChristoGrab ChristoGrab commented Apr 5, 2024

What

Just bumping the CDK version for Salesforce to latest version so we can see the updated error messaging for missing streams added in #36833.

Copy link

vercel bot commented Apr 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 5:26pm

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Apr 5, 2024
@ChristoGrab ChristoGrab marked this pull request as ready for review April 5, 2024 17:18
@octavia-squidington-iv octavia-squidington-iv requested review from a team April 5, 2024 17:19
Copy link
Contributor

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm that I see the change in the error type (unfortunately, the stream Potato is not available :( ) so I'm good with this change

{"type": "TRACE", "trace": {"type": "ERROR", "emitted_at": 1712338285726.425, "error": {"message": "A stream listed in your configuration was not found in the source. Please check the logs for more details.", "internal_message": "The stream 'Potato' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.", "stack_trace": "Traceback (most recent call last):\n  File \"/Users/maxime/devel/code/airbyte/airbyte-integrations/connectors/source-salesforce/main.py\", line 9, in <module>\n    run()\n  File \"/Users/maxime/devel/code/airbyte/airbyte-integrations/connectors/source-salesforce/source_salesforce/run.py\", line 47, in run\n    launch(source, _args)\n  File \"/Users/maxime/devel/code/airbyte/airbyte-integrations/connectors/source-salesforce/.venv/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py\", line 235, in launch\n    for message in source_entrypoint.run(parsed_args):\n  File \"/Users/maxime/devel/code/airbyte/airbyte-integrations/connectors/source-salesforce/.venv/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py\", line 122, in run\n    yield from map(AirbyteEntrypoint.airbyte_message_to_string, self.read(source_spec, config, config_catalog, state))\n  File \"/Users/maxime/devel/code/airbyte/airbyte-integrations/connectors/source-salesforce/.venv/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py\", line 166, in read\n    for message in self.source.read(self.logger, config, catalog, state):\n  File \"/Users/maxime/devel/code/airbyte/airbyte-integrations/connectors/source-salesforce/source_salesforce/source.py\", line 271, in read\n    yield from super().read(logger, config, catalog, state)\n  File \"/Users/maxime/devel/code/airbyte/airbyte-integrations/connectors/source-salesforce/.venv/lib/python3.9/site-packages/airbyte_cdk/sources/concurrent_source/concurrent_source_adapter.py\", line 36, in read\n    abstract_streams = self._select_abstract_streams(config, catalog)\n  File \"/Users/maxime/devel/code/airbyte/airbyte-integrations/connectors/source-salesforce/.venv/lib/python3.9/site-packages/airbyte_cdk/sources/concurrent_source/concurrent_source_adapter.py\", line 64, in _select_abstract_streams\n    raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: The stream 'Potato' in your connection configuration was not found in the source. Refresh the schema in your replication settings and remove this stream from future sync attempts.\n", "failure_type": "config_error", "stream_descriptor": null}}}

@ChristoGrab
Copy link
Contributor Author

The "bananas" stream was not available in my tests, looks like Salesforce is not very food-friendly 🤣

@ChristoGrab ChristoGrab merged commit 93c161b into master Apr 5, 2024
@ChristoGrab ChristoGrab deleted the christo/salesforce-bump branch April 5, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/salesforce
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants