# 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](/delpha-for-salesforce/delpha-setup/extra-tasks/check-my-org-settings.md#install-the-delpha-connected-apps-mandatory).&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.delpha.io/delpha-for-salesforce/troubleshot/error-when-connecting-to-delpha.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
