Skip to main content

Hi,

I use external services for PUT Callouts and normally if the response is 200 I receive something like this:

OutputParameters:{"2XX":"","responseCode":"200"}|HttpResponseStatus:200

 

 other wise if there is an error I put this swagger while registering the externla services:

 

{  "omschrijving": "string",  "status": "string",  "detailInformatie": "string"}

The External service automatically generate below code from it:

        "responses": {

          "2XX": {

            "description": "",

            "content": {

              "application/json": {

                "schema": {

                  "type": "object",

                  "properties": {

                    "x1": {

                      "type": "string"

                    },

                    "x2": {

                      "type": "string"

                    },

                    "status": {

                      "type": "string"

                    }

                 ......

 

 When the response is 200 the flow fails each time and I get blow msg:

 

Unable to map response for output parameter 2XX of invocable action HttpPutxx.HttpPutxxx. Received response:

 

Any idea how to fix this?

 

Thank you!

 

 

#Salesforce Developer

1 Antwort