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 / Problem with form proc...
Power Automate
Answered

Problem with form processing model \"MlIssueCode\":\"RecordDimensionsTooSmall\"

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello guys,

I made a AI builder form processing and it is a simple form which I created, document is in PDF and I send it to Gmail mailbox ("INBOX"), all data specified is extracted correctly but I get this error on flow run:

{
 "error": {
 "code": "0x80040265",
 "message": "{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"InvalidPredictionInput\",\"message\":\"Inference input for model 174bcc4a-8d91-46b7-839b-f8fae0fab564~e1da88fd-76b1-43a1-bc03-ec0c303d541c is invalid\",\"properties\":{\"BackendErrorCode\":\"InvalidInferenceInput\",\"DependencyHttpStatusCode\":\"400\"},\"innerErrors\":[{\"scope\":\"Record\",\"type\":\"Error\",\"code\":\"Unknown\",\"properties\":{\"MlIssueCode\":\"RecordDimensionsTooSmall\"}}]}}",
 "innererror": {
 "message": "{\"operationStatus\":\"Error\",\"error\":{\"type\":\"Error\",\"code\":\"InvalidPredictionInput\",\"message\":\"Inference input for model 174bcc4a-8d91-46b7-839b-f8fae0fab564~e1da88fd-76b1-43a1-bc03-ec0c303d541c is invalid\",\"properties\":{\"BackendErrorCode\":\"InvalidInferenceInput\",\"DependencyHttpStatusCode\":\"400\"},\"innerErrors\":[{\"scope\":\"Record\",\"type\":\"Error\",\"code\":\"Unknown\",\"properties\":{\"MlIssueCode\":\"RecordDimensionsTooSmall\"}}]}}",
 "type": "System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]",
 "stacktrace": " at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, InvocationContext invocationContext, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext, Dictionary`2 optionalParameters)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request, ExecutionContext executionContext)\r\n at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.ExecuteOperation(CrmODataExecutionContext context, EdmOperation edmOperation, Dictionary`2 parameters, Dictionary`2 boundParameters)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.ProcessOperationRequest(String operationName, Dictionary`2 operationParameters, EntityReference entityReference, String boundEntityName, String boundEntityType)\r\n at Microsoft.Crm.Extensibility.OData.ActionController.<>c__DisplayClass11_0.<PostBoundAction>b__0()\r\n at Microsoft.Crm.Extensibility.OData.CrmODataUtilities.<>c__DisplayClass10_0`2.<InvokeActionAndLogMetric>b__0()\r\n at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)\r\n at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()"
 }
 }
 }

 

I have the same question (0)
  • Verified answer
    JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Thanks for posting your issue.

     

    • First thing to check is that the document you are trying to process meets the requirements you will find in the following page: https://docs.microsoft.com/en-us/ai-builder/form-processing-model-requirements
    • If the email you are processing has a signature, it can be picked up as an attachment. Make sure you are processing the attachment you are intending to.
    • If the error still persists, could you share a screenshot on how you have configured your AI Builder action?

      2020-07-06_13-47-17.png

     

    Thanks!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

    I am attaching picture in this post.

    I have made a model and I am using Predict action to predict document type. Each document has 1 page and it is PDF.

     

    dinofilipovic_0-1594036903282.png

     

    Best regards,

    Dino

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @JoeF-MSFT,

     

    I have checked and your input is correct, mail signature is detected as attachment.

    I have put a control where I check for each attachment if it is an PDF then i send it into predict action.

     

    Best regards,

    Dino

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 312 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 154 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 143 Super User 2026 Season 2

Last 30 days Overall leaderboard