Skip to content
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

[Salesforce Connector] Check if given object type exists before attempting to fetch it #3254

Open
jedrazb opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working salesforce

Comments

@jedrazb
Copy link
Member

jedrazb commented Mar 7, 2025

Bug Description

Currently Salesforce connector makes certain assumptions about standard objects present in the Salesforce schema, if .e.g account object type is not present, connector will simply fail the sync with NOT_FOUND error.

To Reproduce

Steps to reproduce the behavior:

  1. Use salesforce instance with limited standard objects (.e.g exclude contacts)
  2. Try syncing
  3. Observe NOT_FOUND error

Expected behavior

We should be more robust when object types are missing, and ideally

  • skip fetching objects if they don't exist/aren't accessible in a given instance
  • log warning that specific objects were skipped
  • log error if no data/objects were accessible to be fetched
@jedrazb jedrazb added bug Something isn't working salesforce labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working salesforce
Projects
None yet
Development

No branches or pull requests

1 participant