Error integrating to Integration Cloud REST Web Service.
SummaryReceiving error executing GET method using custom Integration Cloud Web Service
We registered a custom Integration Cloud REST Web Service in Engagement Cloud and created a groovy to execute GET method. However we are getting this error:
- oracle.binding.expr.ServiceInvocationException: JBO-29000: Unexpected exception caught: oracle.adf.model.connection.rest.exception.RestConnectionException, msg=JBO-57001: Invocation of service URL used in connection failed with status code 415 Unsupported Media Type
We tested the same endpoint using Postman and it works fine. We also had the web service checked and it is returning json. We also tried adding "Content-Type: application/json" and "Accept:application/json" in the request header but the same error occurs.