Open Band-Aid opened 2 weeks ago
Sending a PUT request with a string value return a 500 error with message: json error invalid character 'x' looking for beginning of value
json error invalid character 'x' looking for beginning of value
STR:
Successful cURL example:
curl -X PUT \ 'https://app.pendo.io/api/v1/metadata/visitor/custom/value/visitorid/group' \ --header 'Accept: */*' \ --header 'x-pendo-integration-key: xxxxx' \ --header 'Content-Type: application/json' \ --data-raw '"Finance"'
I've tried replace the content-type to plaintext but that still return the invalid character json error.
Consumption (Portal)
New Designer
Yes
{ "type": "Http", "inputs": { "uri": "https://app.pendo.io/api/v1/metadata/visitor/custom/value/@{item()?['mail']}/group", "method": "PUT", "headers": { "x-pendo-integration-key": "xxxxxxx", "Content-Type": "application/json" }, "body": "Finance" }, "runtimeConfiguration": { "contentTransfer": { "transferMode": "Chunked" } } }
No response
edge
Describe the Bug with repro steps
Sending a PUT request with a string value return a 500 error with message:
json error invalid character 'x' looking for beginning of value
STR:
Successful cURL example:
I've tried replace the content-type to plaintext but that still return the invalid character json error.
What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Screenshots or Videos
No response
Browser
edge
Additional context
No response