# ShareASale Authorization Error - Invalid Account - Error Code 4002 -

This article will assist you with the following error:

**"****Authorization Error - Invalid Account - Error Code 4002 -"**

![](https://knowledge.powermyanalytics.com/application/troubleshooting/images/shareasale-authorization-error-invalid-account-error-code-4002-1.png)

## Solution

Modify the API settings in your ShareASale account. Log into ShareASale, then go to **Tools** > **Merchant API**.

![](https://knowledge.powermyanalytics.com/application/troubleshooting/images/shareasale-authorization-error-invalid-account-error-code-4002-2.png)

Select "Require IP address match only for version 1.1 and lower" and click **Update Settings**.

![](https://knowledge.powermyanalytics.com/application/troubleshooting/images/shareasale-authorization-error-invalid-account-error-code-4002-3.png)

Then connect to Data Studio again.
