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 / Continued Null error i...
Power Automate
Suggested Answer

Continued Null error in my Parse JSON when every check stage seems to be working!

(0) ShareShare
ReportReport
Posted on by
Hi All
 
  • Objective: 
    • ​​​​​​​I have built a flow to take a PDF and extract the Invoice Name and then rename the PDF and put it in another folder.  All the PDFS are similar in how there are presented and so I built a AI Model to pull the data off each PDF. I tested this and the AI model seems to be working,  
    • MY flow is Trigger - when a fil is created (properties only) - Condition (to use a certain file path) - Get file content - Process Documents -Parse Json-then a loop for each to rename and move to a certain file 
As I went along I tested each sage I have looked at the out puts I can see the AI returning the InvoiceNumber and the CompanyName as requested.  I was getting run time errors but now I am getting a error saying that the Json is bring back NULL which suguests that the AI model isnt working. 
 
 Current Error Message:  Action 'Process_documents' failed: {"operationStatus":"Error","error":{"type":"Error","code":"InvalidPredictionInput","message":"Encountered an issue when reaching Form Recognizer: InvalidRequest","properties":{"BackendErrorCode":"InvalidInferenceInput","DependencyHttpStatusCode":"400"},"innerErrors":[{"scope":"Record","target":null,"code":"InvalidRecord","type":"Error","properties":{"ErrorCode":"InvalidRequest","MlIssueCode":"InvalidRecord"}}]},"predictionId":null}
 
Below is the Current  Json and then below that is my create file details. 
 
I have used copilot that keep saying all was OK but the Json is bring back Null which mean look at AI model is it working and it is working,  I have tested it I can see it in the code.  I need help please 
 
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    12,163 Super User 2026 Season 1 on at
     
    You seem to have two body values in Content, make sure there is only one, and try the flow again:

     
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard