---
title: I’m getting ‘Access Denied’ error when logging in to Salesforce
description: Learn how to solve 'access denied' error.
---

[Skip to content](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#main-content)

English

Show submenu for translations

![Xappex-logo-with-name.png\]](https://knowledge.xappex.com/hs-fs/hubfs/Xappex-logo-with-name.png?height=40&name=Xappex-logo-with-name.png)

- [Products](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#products)
- [Blog](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#blog)
- [About](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#about)

Open main navigation

Close main navigation

- [Products](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#products)
- [Blog](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#blog)
- [About](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#about)
- English
  
  Show submenu for translations
- Go to xappex.com

 Go to xappex.com

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Xappex Knowledge Base](https://knowledge.xappex.com/?hsLang=en)
2. [I use Google Sheets](https://knowledge.xappex.com/i-use-google-sheets?hsLang=en)

# I’m getting ‘Access Denied’ error when logging in to Salesforce

## Learn how to solve 'access denied' error.

All our apps connect to Salesforce via API using a corresponding oAuth2 Connected App. It’s a different app for each Xappex product, but they work in a similar way. Simply logging in to Salesforce from any of our apps establishes a default connection, which is in most cases enough to work with your Salesforce account via API.

However, if more granular access to Salesforce from a Xappex app is required, it is possible to set up each app’s policies as described below:

Go to Setup – Connected Apps oAuth Usage and click on Manage App Policies next to the corresponding app:

![](https://www.xappex.com/wp-content/smush-webp/2017/07/appPolicies.png.webp)

If the app is not installed, click on Install to make it available in your Salesforce org.

It’s up to the administrator to set up the right policies. Below is the description of policies that ensure that a Xappex app works correctly.

Make sure that the refresh token is valid until revoked and the IP restrictions are set to “Relax IP Restrictions”:  
![](https://www.xappex.com/wp-content/smush-webp/2017/07/relaxIpRestrictions.png.webp)

- [I use Google Sheets](https://knowledge.xappex.com/i-use-google-sheets?hsLang=en)
- [I use Microsoft Excel](https://knowledge.xappex.com/i-use-microsoft-excel?hsLang=en#main-content)

    - [FAQs](https://knowledge.xappex.com/i-use-microsoft-excel?hsLang=en#faqs)
    - [I use XL-Connector](https://knowledge.xappex.com/i-use-microsoft-excel?hsLang=en#i-use-xl-connector)
    - [I use XL-Connector 365](https://knowledge.xappex.com/i-use-microsoft-excel?hsLang=en#i-use-xl-connector-365)
    - [I use Excel Merge package](https://knowledge.xappex.com/i-use-microsoft-excel?hsLang=en#i-use-excel-merge-package)
- [I use Looker Studio](https://knowledge.xappex.com/i-use-looker-studio?hsLang=en)

- [Products](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#products)
- [Blog](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#blog)
- [About](https://knowledge.xappex.com/im-getting-access-denied-error-when-logging-in-to-salesforce-1#about)

[![Chill listening crop-3](https://knowledge.xappex.com/hubfs/Xappex-Logo.svg "Chill listening crop-3")](https://www.xappex.com)

xappex.com Help Center

Copyright © 2026, Xappex LLC