Loading
Salesforce now sends email only from verified domains. Read More

SOAP API returns 'Invalid Source Address'

Publish Date: Aug 24, 2023
Description

Here's why the "invalid source address" fault string appears when using the SOAP API and how to resolve it.

Resolution
The error message indicates that your Marketing Cloud Account has the "Restrict Logins by IP Address (IP Allowlisting)" security setting set to "Log Violations & Deny Access." The API call is originating from an IP address that hasn't been allowlisted for the Account. 
 

Resolve the error by creating a new trusted IP range

To resolve this issue, you'll just need to check the IP addresses to be allowlisted and then create a new trusted IP range. Here's how: 
 

1. First, check out the IP addresses to be allowlisted by navigating to the following screen within the Marketing Cloud: 

Setup | Settings | Security | Login IP Allowlist 

2. Note the IP address(es) listed in the workspace.
3. Next, view the IP address that's being denied by clicking the "View Access Log" button above the workspace.
4. Create a new trusted IP range for the IP address being denied. As part of the process, you'll need to set the "Login Source" to "Any" or "API Calls." 

Knowledge Article Number

000387099

 
Loading
Salesforce Help | Article