SAP Knowledge Base Article - Public

3051997 - Integration Center Error : Invalid Destination Settings Fieds SFTP Server Host Address / Invalid Entry using non SF-SFTP or Destination Host Address

Symptom

Error (!) Save Error : Missing or invalid destination settings fields SFTP Server Host Address, When creating/maintaining SFTP and / or REST Destination Settings for Outbound Integration for a non SF-SFTP or Destination Host Address

OR


"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
    • SAP Successfactors Integration Center
    • SAP Successfactors Security Center
      • Destination Settings

Reproducing the Issue

When creating/maintaining SFTP and / or REST Destination Settings for Outbound Integration

(1) Security Center > Under Destination Settings

or

(2) from editing an Integration Center Job > under Destination Settings 

Cause

String value input in the Server Host Address field does not match the RegEx Pattern (regular expression) criteria for the field.

Resolution

Ensure that the string input value for the SFTP destination host address matches below RegEx Pattern


^[a-zA-Z0-9-]{1,62}[a-zA-Z0-9-]((?:[\.-][a-zA-Z0-9]{2,})+)?(?:[\.-][a-zA-Z]{2,})$



The criteria explanation you can find below. Or you can use any online RegEx Pattern Tester/Validation tool to test match the string input value with above prior using this to create an SFTP destination.

If not, (1) Either ask the vendor SFTP admin to provide an address whose string value comply with the RegEx pattern above or (2) use IP Host address  equivalent  (this is not recommended / preferred as IPs can change depending on the security policies of the third party system)


Explanation

^asserts position at start of a line

Match a single character present in the list below 
[a-zA-Z0-9-]
{1,62} matches the previous token between 1 and 62 times, as many times as possible, giving back as needed (greedy)
a-z matches a single character in the range between a (index 97) and z (index 122) (case sensitive)
A-Z matches a single character in the range between A (index 65) and Z (index 90) (case sensitive)
0-9 matches a single character in the range between 0 (index 48) and 9 (index 57) (case sensitive)
- matches the character - literally (case sensitive)



Match a single character present in the list below 
[a-zA-Z0-9-]
a-z matches a single character in the range between a (index 97) and z (index 122) (case sensitive)
A-Z matches a single character in the range between A (index 65) and Z (index 90) (case sensitive)
0-9 matches a single character in the range between 0 (index 48) and 9 (index 57) (case sensitive)
- matches the character - literally (case sensitive)



1st Capturing Group 
((?:[\.-][a-zA-Z0-9])+)?
? matches the previous token between zero and one times, as many times as possible, giving back as needed (greedy)

Non-capturing group 
(?:[\.-][a-zA-Z0-9])+
+ matches the previous token between one and unlimited times, as many times as possible, giving back as needed (greedy)

Match a single character present in the list below 
[\.-]

Match a single character present in the list below 
[a-zA-Z0-9]

Non-capturing group 
(?:[\.-][a-zA-Z])

Match a single character present in the list below 
[\.-]
\. matches the character . literally (case sensitive)
- matches the character - literally (case sensitive)

Match a single character present in the list below 
[a-zA-Z]
{2,} matches the previous token between 2 and unlimited times, as many times as possible, giving back as needed (greedy)
a-z matches a single character in the range between a (index 97) and z (index 122) (case sensitive)
A-Z matches a single character in the range between A (index 65) and Z (index 90) (case sensitive)
$ asserts position at the end of a line



See Also


Keywords

invalid destination settings fields SFTP Server Host Address, Integration Center SFTP Destination Settings, Invalid Entry, RegEx Pattern, Security Center Destination Settings , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM suite all versions

Attachments

Pasted image.png