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

Community site session details

Session Id :
Power Apps - AI Builder
Suggested Answer

AI Builder connectors TimeOut after exactly 2 minutes always .

(0) ShareShare
ReportReport
Posted on by 4
Using AI Builder Predict or Run a Prompt action are timing out after 2 minutes regardless of the token window/model which are not being surpassed.
 
I'm getting the following error: RequestTimeout
while using this connector code:
{
  "type": "OpenApiConnection",
  "inputs": {
    "parameters": {
      "recordId": "83453d5f-1f3b-4747-b76b-b873bbda4ccb",
      "item/requestv2/CanvasContent": "@body('Obtener_el_CanvasContent_')?['d']?['CanvasContent1']",
      "item/requestv2/Prompt": "@triggerBody()?['text_1']"
    },
    "host": {
      "apiId": "/providers/Microsoft.PowerApps/apis/shared_commondataserviceforapps",
      "connection": "shared_commondataserviceforapps",
      "operationId": "aibuilderpredict"
    }
  },
  "metadata": {
    "flowSystemMetadata": {
      "portalOperationId": "aibuilderpredict",
      "portalOperationGroup": "aibuilder",
      "portalOperationApiDisplayNameOverride": "AI Builder",
      "portalOperationIconOverride": "https://content.powerapps.com/resource/makerx/static/pauto/images/designeroperations/aiBuilderNew.51dbdb6b.png",
      "portalOperationBrandColorOverride": "#0A76C4",
      "portalOperationApiTierOverride": "Standard"
    }
  }
}
In addition, I'm not exceeding the token limits present in: https://learn.microsoft.com/en-us/ai-builder/prompt-modelsettings and the thoerical timeout should be 60 minutes according to this post: https://community.powerplatform.com/forums/thread/details/?threadid=1509f52c-059e-4054-8f38-79d33dab74d7&action=reply
 
My flow looks like this:

Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    52,569 Super User 2025 Season 2 on at
    AI Builder connectors TimeOut after exactly 2 minutes always .
     
    Can you share what exactly is the Content and what exactly is the prompt?
     
    How big is the content that you are running the prompt against
     
    Also from my understanding Run a Prompt will enforce 2 minutes, while Predict can do technically 60 so its a different API.

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 724 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
SebS Profile Picture

SebS 239 Moderator

Last 30 days Overall leaderboard