SAP Knowledge Base Article - Public

2251980 - Invalid IP format error when setting API Login Exceptions

Symptom

The error below occurs when setting up the IP addresses in API Login Exceptions:

"Invalid IP format"

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

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 security settings
  4. Add the IP address
  5. Save and error is returned

Cause

IP address provided is in incorrect format.

Resolution

Make sure that you provided the IP addresses in a valid format.

You need to enter the IP addresses separated by comma, for example: 10.20.30.40, 10.20.30.41

When entering an IP range, you need to include it with 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, allow list, ip range, restrict, allowlist, Password & Login Policy Settings , KBA , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions