SAP Knowledge Base Article - Public

2251980 - Error: Invalid IP format when configuring API Login Exceptions

Symptom

The error "Invalid IP format" occurs when setting up IP addresses in API Login Exceptions. 

KBA.PNG

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

• SAP SuccessFactors HXM Suite
• API & Adhoc API Framework

Reproducing the Issue

1. Go to Admin Center > Password & Login Policy Settings.
2. Click on "Set API Login exceptions...".
3. Add new or edit a user's security settings.
4. Add the IP address.
5. Save, and the error "Invalid IP format" is returned.

Cause

IP address provided is in incorrect format.

Resolution

1. Ensure that the IP addresses are provided in a valid format.

2. Enter the IP addresses separated by commas, for example: 10.20.30.40, 10.20.30.41.

3. For IP ranges, use the following format: 10.20.30.1-10.20.30.10.

See Also

2253200 - How to restrict the API access of a specific user by IP addresses

OData API Help Portal: Restricting API Access by IP Addresses or IP Address Ranges

Keywords

API Login Exceptions, IP address format error, blocklist, IP address range, restrict API access, include list, Password & Login Policy Settings, IP configuration error, invalid IP format, API settings, user security settings, IP validation, API Login setup, IP address restrictions, API troubleshooting.  , KBA , ss_anonymizedkba , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions