Vanessa Virginia Sucre Gonzalez Posted June 23, 2020 Share Posted June 23, 2020 Hello, I'm trying to connect to a web service using the invokeRestApi from the palette. The HTTP Verb es POST andresource is "/sentiment". URLhttps://eu-west-1.integration.cloud.tibcoapps.com/ecuj3jueeunnsi3eppn2kzufn2623zxz/sentiment As an input: curl --location --request POST 'https://eu-west-1.integration.cloud.tibcoapps.com/ecuj3jueeunnsi3eppn2kzufn2623zxz/sentiment' --header 'Content-Type: application/json' --data-raw '{ "language": "EN", "text": "text" }' I have tried many times but keep getting the following error... {http://schemas.tibco.com/bw/plugins/http/5.0/httpExceptions}HttpClientException: com.tibco.bx.core.faults.BxException: Client received a 4xx response for invocation at resource path https://eu-west-1.integration.cloud.tibcoapps.com:443/sentiment-{ActivityName=InvokeRESTAPI, ProcessName=becausewecanappmodule.becausewecanprocess, ModuleName=TCIChallengeBecauseWeCanAppModule} Caused by: Client received a 4xx response for invocation at resource path https://eu-west-1.integration.cloud.tibcoapps.com:443/sentiment-{ActivityName=InvokeRESTAPI, ProcessName=becausewecanappmodule.becausewecanprocess, ModuleName=TCIChallengeBecauseWeCanAppModule} Also attaching the project. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now