Annika Maybin
09/30/2025, 4:33 PMOAuth login failed: errors.http.internalServerErrorkapa.ai
09/30/2025, 4:34 PMOAuth login failed: errors.http.internalServerError when setting up a new Salesforce sandbox source in Airbyte typically indicates an issue with the OAuth authentication process between Airbyte and Salesforce. Based on the knowledge sources, here are some steps and considerations: 1. Check OAuth Credentials: Ensure you have correctly set up your Salesforce Connected App and are using the right Client ID, Client Secret, and Refresh Token. For Airbyte Open Source, you must manually obtain these credentials, following the guide provided in the documentation. If you haven't already, refer to the [official setup guide for Salesforce OAuth credentials](https://docs.airbyte.com/integrations/sources/salesforce#for-airbyte-open-source-obtain-salesforce-oauth-credentials) and make sure all steps are followed, including using the correct domain and following redirects when generating tokens. 2. Sandbox vs. Production: Double-check that you have toggled the "Is Sandbox" option correctly in the Airbyte UI. If this setting does not match your Salesforce environment, authentication will fail. Changing this setting after initial setup requires re-authentication with the correct credentials [Salesforce destination troubleshooting](https://docs.airbyte.com/integrations/enterprise-connectors/destination-salesforce#troubleshooting). 3. Known Issues and Platform Version: There have been recent issues reported with OAuth flows in Airbyte OSS, especially after version upgrades (e.g., 1.4+). Some users have experienced regressions or missing fields in the UI for entering credentials, which can cause authentication failures. If you are on a newer version and encountering issues, it may be related to these changes. In some cases, users have found that downgrading to an earlier version or waiting for a patch resolved the issue [Github Issue 58122](https://github.com/airbytehq/airbyte/issues/58122). 4. Salesforce User Permissions: Make sure the Salesforce user you are authenticating with has the necessary API and object permissions. Insufficient permissions can also cause authentication or data access errors [Salesforce destination troubleshooting](https://docs.airbyte.com/integrations/enterprise-connectors/destination-salesforce#troubleshooting). If you have verified all the above and the issue persists, it may be a temporary platform bug or a misconfiguration in the OAuth flow. The knowledge sources do not provide a specific fix for this exact error, but following the setup and troubleshooting steps closely is recommended. If the problem continues, consider checking for open issues or updates in the Airbyte GitHub repository, as similar OAuth-related problems have been reported and addressed in recent releases. If you need more detailed help, please provide your Airbyte version and connector version, as this can help identify if you are affected by a known issue.