# Error when connecting to Delpha

## Symptoms

You try to connect your org to Delpha. After clicking the Connect button you are taken to a Delpha branded page that loops endlessly. You switch back on the Delpha Setup app page and you got a red toaster on top of the page with this error message: **Error during connection. Connection could not be established with Delpha API.** &#x20;

{% hint style="warning" %}
That error tends to happen after an uninstall / reinstall process of the Delpha package.
{% endhint %}

## Error message&#x20;

{% hint style="danger" %}

### Error during connection Connection could not be established with Delpha API.&#x20;

{% endhint %}

## What To Do

### Case 1: You have uninstalled Delpha and you are reinstalling it

... that may have reset some External Credentials. Let's check.

1 - Get some data

In Salesforce Setup:&#x20;

* Go To Salesforce Setup and search for: Named Credentials > External Credentials > Delpha\_AWS > Principals&#x20;
* if the Principals appear as **Not Configured**, get a screenshot.

2 - Drop the screenshot to Delpha, by chat, slack or email (<support@delpha.io>)&#x20;

{% hint style="success" %}

* Delpha support team will come back to you asap to properly update the Named Credential Delpha\_AWS.
  {% endhint %}

### Case 2: You are setting up the connection with Delpha back-end

... that may be related to the Salesforce restriction on uninstalled Connected Apps (Sept 2025)

{% hint style="info" %}
Starting in early September 2025, Salesforce blocks end users from authorizing or using uninstalled Connected Apps. Only apps that are explicitly installed (or users with special permissions) will work. ([Salesforce](https://help.salesforce.com/s/articleView?id=005132365\&language=en_US\&type=1\&utm_source=chatgpt.com))
{% endhint %}

⇒ Follow these steps to [install the Delpha connected apps](https://help.delpha.io/delpha-setup/extra-tasks/check-my-org-settings#install-the-delpha-connected-apps-mandatory).&#x20;
