I created a workflow in Microsoft Flow that is triggered when a new item is added to a SharePoint list. This flow includes a "Send Email with Options" step that keeps failing with the following error:
BadRequest. The request failed. Response content: '{"status":400,"message":"No input parameters provided. Please provide required input parameters 'To', 'Subject', 'Body' and 'Options'.\r\nclientRequestId: b18047ba-5368-4e78-981b-b7025c027e81","source":"office365-cus.azconn-cus.p.azurewebsites.net"}'.
This is what that step looks like in the editor:
It only indicates the "To" field as being required. That dynamic content is triggerBody()['Approving_x0020_Manager']['Email']
, which I know works because it is the same as in a prior step that succeeds. "Approving Manager" is a people-picker field in the form that a user fills out when adding a new item.
Also I have a prior step that sends an email (just the normal Send Email type) and that worked, so it must just have something to do with the specific "Send Email with Options"? I don't understand why this step is failing as it is.