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 / AMA: Couldn't Train Mo...
Power Automate
Answered

AMA: Couldn't Train Model Error

(1) ShareShare
ReportReport
Posted on by 1,091 Super User 2024 Season 2

Hi Microsoft! 

 

I'm in love with your product. Especially Microsoft Power Automate (Desktop). Been doing some experiments with AI builder recently, to see whether I can infuse AI in my automation flows.

 

However when I'm trying to train my model it states: 

Couldn't train model. Try again later.

Please wait a moment and try again.
--
It doesn't state what the error exactly is, so I hope u can help me. Fyi: it worked with 3 collections, but started giving this error since I added the 4th and 5th. 
 
Thank you so much in advance!
 
Categories:
I have the same question (0)
  • CedrickB Profile Picture
    Microsoft Employee on at

    This is a rare issue and there could be several causes

    - A temporary service outage. In this case, you could reedit and train the model again to check if the problem still occur

    - A document which is not properly supported. In this case, you could try to edit your model and remove collection 5 and retrain, then do the same with 4 only. I understand that this could be a bit painful

     

    The faster way would be to provide the environment and model id available in the URL so we could investigate https://make.powerapps.com/environment/ENV_ID/aibuilder/models/MODEL_ID 

  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    Thank you so much for your reaction Cedrick!

    Option 1: I also thought this was the case. However, the problem occured yesterday and today it's still there.

    Option 2: Yep.. (Unfortunately) I've tried this already. I tagged around 50 documents and deleted them to see whether they were the cause. They werent. 

    I'll send you a PM regarding the model ID. Thank you again!

  • ZePowerDiver Profile Picture
    279 Most Valuable Professional on at

    Hello Tjan,

     

    I have a similar issue with a Prediction model that I'm trying to create.

    Tested in multiple environments and the result is the same (the error you display above).

    As far as I know, it's a known issue and the team is working on resolving it (open ticket).

     

    Éric

     

  • CedrickB Profile Picture
    Microsoft Employee on at

    We see a timeout.

    We need further investigations.

    We will reply to this thread when we have a concrete diagnostic.

    In the meatime, can you try to retrain the model please?

  • Anna Chu Profile Picture
    Microsoft Employee on at

    Thanks for following up @CedrickB

  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    Thank you so much Cedrick.

     

    I have tried retraining the model, but still get the notification. I'll wait patiently though!

     

    Thanks for the hard work from the team 💪

  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    @CedrickB @JoeF-MSFT Hi team! Regarding the above mentioned error, I did A LOT of testing. Including the tagging of documents and deleting them afterwards 😥. I found out the error will be thrown when having more than 125 documents tagged. As it seems, the amount of collections doesn't influence the occurence of the error (I tested with 4,5,6 collections). The amount of files within a collection does also not affect it (I tested with 35 in a collection). I hope this contributes to the investigation. Thank you so much for your effort and time.

  • CedrickB Profile Picture
    Microsoft Employee on at

    Is it possible that you reached the dataset size limit?

    The combined file size of the documents used for training per collection must not exceed 50 MB.

    See https://docs.microsoft.com/ai-builder/form-processing-model-requirements 

  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    Thanks for your reply. I checked this already! 

     

    The max amount of MB per collection was 2 MB in my case.

  • plarrue Profile Picture
    Microsoft Employee on at

    Hi @Tjan ,

     

    Could you please send an email to aihelpen@microsoft.com ?
    We would probably need to schedule a quick call to investigate better your issue.
    thanks !

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 780

#2
Valantis Profile Picture

Valantis 668

#3
Haque Profile Picture

Haque 601

Last 30 days Overall leaderboard