The request was syntactically correct but its content is semantically invalid in IDN

Hi,

I wanted to patch a webservice connector for the response mapping in Custom Auth. Its like multi level patching as mentioned below. And i am getting the error like “The request was syntactically correct but its content is semantically invalid.”

[
    {
        "op": "replace",
        "path": "connectorAttributes/connectionParameters/resMappingObj/accesstoken",
        "value": "sessionId"
    }
]

Hi @apattana

Can you use below and see?

[{
	"op”: “replace”,
	“path”: “ /connectorAttributes/connectionParameters / resMappingObj / accesstoken”,
	“value”: “sessionId”
}]

Hi Rakesh,

I tried both the way, but getting 401 error.
[
{
“op”: “replace”,
“path”: “connectorAttributes/connectionParameters/resMappingObj/accesstoken”,
“value”: “sessionId”
}
]

and

[
{
“op”: “replace”,
“path”: “connectorAttributes/connectionParameters/0/resMappingObj”,
“value”: {
“accesstoken”: “sessionId”
}
}
]

Hi,

Even if the patch is successful, I its not showing in source configuration. I can not change the resource mapping neither from UI nor from postman.

Its overwriting with a random value. I am facing this issue for the first time for a webservice connector.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.