cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ilu989 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
Dual Super User
Dual Super User

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
Dual Super User
Dual Super User

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (7,764)