Showing results for 
Search instead for 
Did you mean: 

facing issue in twitter scenario

0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello Experts,

Kindly provide your inputs. if you can provide some headstart on this , it will help.

I'm not able to understand the issue