Hi all
I have built a Power Automate flow, that grabs some data from Dynamics365 (a list of projects), and posts an adaptive card to teams asking for a user response.
The problem is, when I offered 1 input field, it worked fine, however I need to offer at least 3. When I have tried to do this, it fails testing because the payload is too large (The request failed. Response content: '{"error":"The payload is too large. Please make sure the size is less than 28KB."}'.)
I have removed all whitespace, however the problem is clearly that I have multiple projects being passed into the choices field.
Is there anything I can do? This seems like a very low data limit, I am not passing any image files or anything, simply a list of about 100 projects.
Adaptive card message below. thanks 🙂
{ "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.4", "body": [ { "type": "TextBlock", "text": "Labour Cap Feedback Form - @{formatDateTime(subtractFromTime(utcNow(),1,'month'),'MMMM yyyy') }", "wrap": true, "weight": "Bolder", "size": "Large" }, { "type": "TextBlock", "text": "User Display Name", "wrap": true }, { "type": "Container", "items": [ { "type": "TextBlock", "text": "Hi there, please provide the number of days you have worked on your projects in the last month", "wrap": true }, { "type": "ColumnSet", "columns": [ { "type": "Column", "width": "stretch", "items": [ { "type": "Input.ChoiceSet", "choices": [ @{substring(variables('AllProjectsVar2'),0,sub(length(variables('AllProjectsVar2')),1))} ], "placeholder": "Project", "id": "project1" }, { "type": "Input.ChoiceSet", "choices": [ @{substring(variables('AllProjectsVar2'),0,sub(length(variables('AllProjectsVar2')),1))} ], "placeholder": "Project", "id": "project2" }, { "type": "Input.ChoiceSet", "choices": [ @{substring(variables('AllProjectsVar2'),0,sub(length(variables('AllProjectsVar2')),1))} ], "placeholder": "Project", "id": "project3" } ] }, { "type": "Column", "width": "stretch", "items": [ { "type": "Input.Number", "placeholder": "Number days worked", "id": "days1" }, { "type": "Input.Number", "placeholder": "Number days worked", "id": "days2" }, { "type": "Input.Number", "placeholder": "Number days worked", "id": "days3" } ] } ] } ] }, { "type": "ActionSet", "actions": [ { "type": "Action.Submit", "title": "Send", "associatedInputs": "auto" } ] } ] }

Report
All responses (
Answers (