<@U04S8PLJWMT> Hi, when connecting to salesforce a...
# ask-ai
p
@kapa.ai Hi, when connecting to salesforce and click "Authenticate your salesforce account" a window appear and dissapears and get the message OAuth login failed: errors.http.internalServerError
k
The error you’re experiencing—where the OAuth login window for Salesforce appears and disappears, followed by the message "OAuth login failed: errors.http.internalServerError"—has been reported by other users as well. This issue is typically related to problems in the OAuth authentication flow between Airbyte and Salesforce. Based on the knowledge sources, here are some key points: - This type of error (HTTP 500/Internal Server Error) has been observed with Salesforce and other connectors, especially in recent Airbyte OSS versions. It may be related to changes in the OAuth flow or missing/incorrect configuration in the Airbyte platform or connector itself. - Users have reported similar issues with the Salesforce connector, where the authentication step fails and results in a 500 error. In some cases, this was due to missing or misconfigured OAuth implementations in the Airbyte instance, or platform bugs introduced in recent versions ([source](https://github.com/airbytehq/airbyte/issues/52691)). - For Airbyte Open Source, you are required to manually obtain and enter Salesforce OAuth credentials (Client ID, Client Secret, Refresh Token) as described in the setup guide. If the UI does not allow you to enter these manually, or if the OAuth flow is broken, this could be the cause of your issue ([source](https://docs.airbyte.com/integrations/sources/salesforce#for-airbyte-open-source-obtain-salesforce-oauth-credentials)). - There have been platform regressions and bugs in Airbyte OSS 1.4.x and 1.5.x affecting OAuth flows for multiple connectors, including Salesforce. Some users have resolved similar issues by upgrading to the latest Airbyte version, as fixes have been released for OAuth-related bugs ([source](https://github.com/airbytehq/airbyte/issues/52691)). What you can try: 1. Ensure you are running the latest version of Airbyte, as OAuth bugs have been fixed in recent releases. 2. If you are using Airbyte Open Source, try manually obtaining the Salesforce OAuth credentials and entering them as described in the [official documentation](https://docs.airbyte.com/integrations/sources/salesforce#for-airbyte-open-source-obtain-salesforce-oauth-credentials). 3. If the problem persists, it may be a platform bug. In that case, you may need to wait for a fix or check for updates in the relevant GitHub issues ([example issue](https://github.com/airbytehq/airbyte/issues/52691)). If you need to connect urgently and the OAuth flow is broken, you might be able to work around the issue by manually generating the refresh token and entering it, if your Airbyte version and UI allow for manual credential entry. If none of these steps resolve your issue, please provide your Airbyte version and deployment details, as this will help in diagnosing the problem further.