Symptom
- An issue is encountered when attempting to transfer data to an external API using Integration Center.
- The error message encountered is "Http Error response code 302 with response state text: Found while calling url: https://<Rest_API_URL_Endpoint>".
Environment
- SAP SuccessFactors HCM Core
- Integration Center
- Rest API Outbound Integration
- Integration Center
Reproducing the Issue
- Create a Rest API Outbound job in Integration Center (IC) with a URL using redirect to another endpoint.
- Run the integration job.
- Observe the error in the Execution Manager.
Alternatively, you could conduct POSTMAN testing while disabling "Automatically follow redirects"; this should yield a similar behavior to IC.
Cause
Integration Center does not support redirect to a different URL due to security concerns.
Resolution
This is an expected behavior caused by the redirect in the Rest API URL.
The recommendation is to configure the exact endpoint where the response is located. This should work with both GET & POST methods.
See Also
Refer to SAP Knowledge Base Article 2090228 for submitting an enhancement request.
Keywords
SAP SuccessFactors, Integration Center, GET Method, POST Method, 302 Error, Http Error, Redirect, Endpoint URL. , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT-INC-JOB , Integration Center Job , LOD-SF-INT-INC-FWK , Integration Center UI Framework , Problem