cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

The data include "", Json can't read it

Hi Everyone,

 

When my data content includes "", for example below character:

"17":"A & M(C/K)  \" SEE KB IN FORWARD \"  SET 8 SS TO AB 1213145KK. SU"

Use it into the connector "apply to each": 

@{items('Apply_to_each')?['17']}

 

The error message display:

"error": {
"code": "BadRequest",
"message": "Unable to read JSON request payload. Please ensure Content-Type header is set and payload is of valid JSON format."

}

 

Do you have any idea to fixed it?

Regards,

ilu989

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: The data include "", Json can't read it

Hey @ilu989 

 

Have you tried using parse json for this? 

 

ww3.PNG

 

ww4.PNG

 

Schema: 

Spoiler
{
"type": "array",
"items": {
"type": "object",
"properties": {
"17": {
"type": "string"
}
},
"required": [
"17"
]
}
}

 

I just tested it on my side and it works as expected. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
Highlighted
Dual Super User III
Dual Super User III

Re: The data include "", Json can't read it

Hey @ilu989 

 

Have you tried using parse json for this? 

 

ww3.PNG

 

ww4.PNG

 

Schema: 

Spoiler
{
"type": "array",
"items": {
"type": "object",
"properties": {
"17": {
"type": "string"
}
},
"required": [
"17"
]
}
}

 

I just tested it on my side and it works as expected. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (3,966)