cancel
Showing results for 
Search instead for 
Did you mean: 

generateNextPersonID is giving 400 error when placed in the middle of the iFlow

0 Kudos

Hi Experts,

I am using HTTP adapter to get the next available person ID from SuccessFactors. While I tried to POST generateNextPersonID using HTTP adapter immediately after the timer start, I am receiving the next ID back to CPI.

But when I use it after fetching the source file, it is throwing error with status code 400. And SFTP adapter should be my first step in my iFlow. I even tried to clear all the headers and send emptied body before the HTTP call, but got the same error.

Kindly suggest how to get the next person ID for my new hire interface. Is there any other way to get next available person ID? any other work around?

View Entire Topic
Sriprasadsbhat
Active Contributor
0 Kudos

hello Ganga,

Refer below thread and set the body to null or blank before making odata call then it should work.

https://answers.sap.com/questions/13065485/how-do-remove-message-body-in-cpi.html?childToView=130655...

Regards,

Sriprasad shivaram Bhat