Skip to Content
Sep 11, 2020 at 02:42 AM

facing issue in twitter scenario

103 Views Last edit Sep 11, 2020 at 02:44 AM 2 rev

Hi Experts,

I'm new to CPI. I'm trying twitter scenario to get followers from CLD900 but I'm facing issue while fetching the details from twitter. this is the call i'm making to twitter and quering with screen_name parameter with the oauth2 token set in the content modifier fetched in the previous call to twitter.

I'm getting the below error of HTTP 400

org.apache.camel.component.ahc.AhcOperationFailedException - HTTP operation failed invoking with statusCode: 400]", caused by "AhcOperationFailedException:HTTP operation failed invoking with statusCode: 400"

I understand that HTTP error 400 is normally because of incorrect syntax. I'm not able to understand if there is any issue in my request to twitter.

Same call is working correctly with postman. I'm able to fetch records

attached the screenshots scenario.jpgcall2twitter.jpg


scenario.jpg (65.7 kB)
call2twitter.jpg (122.7 kB)