---
schema_version: "1"
id: 526828c48c113d8881d93f5bdcd56a0c491d73630fefe281b3369b4f44d374bd
title: Troubleshooting OAuth Module
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/oauth-module/latest/oauth-module-troubleshooting.md
canonical_url: https://docs.mulesoft.com/oauth-module/latest/oauth-module-troubleshooting
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 79a45e7993b187caaa2bf7fd9a55eca3e83f0e27215dd2b14ed59b8fc1eb5c99
description: MuleSoft Documentation Site
release: "1.1"
latest: true
---
---
product: OAuth Module
version: 1.1
is-latest-version: true
---

# Troubleshooting OAuth Module

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

To troubleshoot OAuth module, become familiar with the information about enabling verbose logging
and interpreting commonly throw messages.

## Enable Verbose Logging

To get a better understanding of why an application’s interaction with OAuth module is failing,
temporarily enable verbose logging for the module.

Remember to always disable the enhanced verbosity after troubleshooting, because it affects your
Mule application performance.

To enable verbose logging in the configuration file:

1.  Access Anypoint Studio and navigate to the **Package Explorer** view.

2.  Open your application’s project name.

3.  Open the `src/main/resources` folder.

4.  Open the `log4j2.xml` file inside the folder.

5.  Add an `<AsyncLogger>` tag inside the `<Loggers>` tag:

    ```xml
    			<Loggers>
    				...
    				<AsyncLogger name="org.mule.extension.oauth2" level="DEBUG"/>
    				...
    			</Loggers>
    ```

6.  Save your application changes.

7.  Click the project name in **Package Explorer** and then click **Run** > **Run As** > **Mule
    Application**.

## Understand Common Throws

Here is a list of common thrown messages and how to interpret them:

- HTTP:SECURITY

  Occurs when there is an error related to an HTTP request.

## See Also

- [Salesforce Help](https://help.salesforce.com)

- [Known Issues](https://help.salesforce.com/s/issues)
