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 https://api.twitter.com/1.1/users/lookup.json 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 https://api.twitter.com/1.1/users/lookup.json?screen_name=kevin_sh with statusCode: 400]", caused by "AhcOperationFailedException:HTTP operation failed invoking https://api.twitter.com/1.1/users/lookup.json?screen_name=kevin_sh 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