web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / ParseJson action - con...
Power Automate
Answered

ParseJson action - content error

(0) ShareShare
ReportReport
Posted on by 2
Hello,
 
I may be repeating the similar case from https://community.powerplatform.com/forums/thread/details/?threadid=bce0c6d6-3aea-4cc7-8117-387416f90d1c, but I had tried their solution and it did not work for me. 
 
The general idea is to get the image from url: http://books.google.com/books/content?id=RYscvAEACAAJ&printsec=frontcover&img=1&zoom=1&source=gbs_api and upload it into a Dataverse table.
 
I am testing a flow with HTTP action, the raw output of it is following:
 
 
The value I want to extract is in field "$content". I have already tested this value as string with "data:image/jpeg;base64," in front of it, and function "dataUriToBinary()" to create the image, and it worked. So that is why I am fixed on extracting this value, but if there is another way to upload an image from an URL into a Dataverse table, I am open for any suggestions.  
 
My approach is: use the Parse Hson action, then put the field "$content" value into a variable, but when I use Parse Json action I am getting an error:
 
 
I do not know how to tackle this error. I have already experimented with converting the HTTP output into string, and then Parse Json, but it did not worked.
 
I would be grateful for any assistance.
 
Regards,
Artur
Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    14,624 Super User 2026 Season 1 on at
    You do not need to use the Parse JSON action to get the content and content type. You can use two expressions to get it from the body of the HTTP request:
    1. body('HTTP')['$content-type'] gets the content type
    2. body('HTTP')['$content'] gets the content
     
    It returns:
     
    Getting the image into Dataverse, that is something someone else will need to assist you with. Good luck.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard