Symptom
You might notice that even with the right configuration in place, the connection test function returns Failed for Connection Status.
Environment
SAP Sales Cloud Version 2
SAP Service Cloud Version 2
Reproducing the Issue
- Go to Settings
- Go to Integration
- Go to Communication Configuration
- Open any Active Communication Configuration which contains Outbound or HTTP services configured
- Go to the Asynchronous Outbound Configuration and Click on Check Connection button (Globe Icon)
Connection Status: FAILED
Cause
Upon a certain condition, this is the expected behavior.
Resolution
SAP uses HTTP OPTIONS to align with the specifications. This feature will work only if the target API endpoint supports HTTP OPTIONS.
See Also
Background: SAP uses HTTP OPTIONS to check the connections. As per specification HTTP OPTIONS should not support Authentication. Earlier SAP was using HTTP OPTIONS with Authentication but SAP has removed it now to align with the specification of HTTP OPTIONS.
We can observe that many target API endpoints either do not support HTTP OPTIONS or it supports HTTP OPTIONS with Authentication. So, if a target endpoint does not support HTTP OPTIONS then we get error during Connection test. You also can get 401 error if HTTP OPTIONS is supported but if expects Authentication.
Keywords
http;failed;connection;Outbound , KBA , CEC-CRM-DC , Data Connector for SAP Sales/Service Cloud , Known Error