# I got the Webhook error "INVALID\_SESSION\_ID". What should I do?

<figure><img src="/files/rBXZioP0ntZkxBz9EDum" alt=""><figcaption></figcaption></figure>

If you got a Webhook error similar to the above stating: INVALID\_SESSION\_ID: Invalid Session ID found in SessionHeader: Illegal Session, this most probably means that SharinPix does not have access to your Salesforce data. Such issues usually come up when the user who previously granted SharinPix access to Salesforce has been deactivated.

Therefore, another **active user** should restore the access to Salesforce by following these steps:

* On your organization, search for **SharinPix Settings** using the App Launcher
* Then once, on the **SharinPix Settings** tab, click on the **Grant** button next to the second line, that is next to **Sharinpix - > Salesforce full API access** as demonstrated below:

<figure><img src="/files/1IhpEamnj1uUBkqRljoM" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:**

In cases where, SharinPix is being configured by a third-party user having a temporary account, it is not recommended that the third-party user restores the access to Salesforce. Here, you should ensure that the grant access to Salesforce has been performed by one of the client's active users and not the third-party user in order to avoid any loss of access if ever the third-party user becomes inactive.
{% endhint %}


---

# 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://docs.sharinpix.com/faqs/i-got-the-webhook-error-invalid-session-id-what-should-i-do.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.
