Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - AI Builder
Suggested answer

"Something went wrong"

(1) ShareShare
ReportReport
Posted on by 119

Hi,

 

I’m experiencing issues with the AI Builder. I’ve created a prompt to extract text from PDF files, which may contain standard text, scanned text (images), or a combination of both. However, some PDFs fail to process, and when I upload them, I receive the error message: "Something went wrong."

 

Could you help me understand what might be causing this issue?

 

Thanks!

 
 
Categories:
  • dahlgebra Profile Picture
    119 on at
    "Something went wrong"

    Thank you for taking the time to answer my post!

     

    Yes, the same files consistently fail, even when I retry. Here’s the prompt I’m using:

    Extract the exact phrase "private limited banking" from the scanned PDF document file. The match must be case-insensitive but must be character-perfect. Do not allow any misspellings, extra letters, missing letters, or other variations. If there is any deviation from the exact phrase, do not return a match.

    Unfortunately, I can't share the documents due to sensitive data. However, after some error handling on my end, here are my key findings:


    • File size isn’t the issue – I’ve successfully tested much larger files.

    • Low-quality scans still work – The prompt functions correctly even on lower-resolution documents.

    • Problematic files are visible – I can preview the failing files in the prompt testing window, and they appear fine.

    • Key observation: When using the pre-built AI model "Extract all the text in photos and PDF documents (OCR)," the files that fail in my AI prompt work perfectly. This model successfully extracts all text from the document.

     
  • Suggested answer
    Michael E. Gernaey Profile Picture
    40,272 Super User 2025 Season 1 on at
    "Something went wrong"
     
    If you retry the same files, do they always fail or if you retry building with them does it work?
     
    I'd have to see the PDF files that fail( at least 2 would be great ) to see what the pattern is of data and if its some data that is not usable and or due to images etc.
     
    Is there anything at all that is common across the ones? let's think of it as poor victims :-( and try to get more related details between the failures as I cannot see anything there.
     
    Its also super hard to read the prompt, can you please share it in bigger letters than the picture and also share 2 images that do not work and at least 1 or 2 that do

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard