Home

Flow to send a survey with MS Forms pro (preview) - Failed with BadRequest

%3CLINGO-SUB%20id%3D%22lingo-sub-527246%22%20slang%3D%22en-US%22%3EFlow%20to%20send%20a%20survey%20with%20MS%20Forms%20pro%20(preview)%20-%20Failed%20with%20BadRequest%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-527246%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20create%20a%20test%20flow%20to%20send%20a%20ms%20forms%20pro%20survey%20(I%20want%20to%20use%20personalised%20fields).%26nbsp%3B%20However%2C%20it%20is%20failing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20just%20using%20this%20as%20a%20test%20to%20see%20how%20the%20email%20looks%20like.%26nbsp%3B%20so%20our%20trigger%20is%20just%20posing%20any%20message%20to%20a%20channel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20544px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F111963i6F0492F06060C85F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Capturef.PNG%22%20title%3D%22Capturef.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%3CFONT%20face%3D%22Consolas%22%3E%7B%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20face%3D%22Consolas%22%3E%3CSPAN%3E%22ErrorMessage%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22System.AggregateException%3A%20One%20or%20more%20errors%20occurred.%20---%26gt%3B%20System.NullReferenceException%3A%20Object%20reference%20not%20set%20to%20an%20instance%20of%20an%20object.%5Cr%5Cn%26nbsp%3B%26nbsp%3B%20at%20Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.%3CPARSEREQUESTDATA%3Ed__9.MoveNext()%5Cr%5Cn%26nbsp%3B%26nbsp%3B%20---%20End%20of%20inner%20exception%20stack%20trace%20---%5Cr%5Cn%26nbsp%3B%26nbsp%3B%20at%20System.Threading.Tasks.Task.ThrowIfExceptional(Boolean%20includeTaskCanceledExceptions)%5Cr%5Cn%26nbsp%3B%26nbsp%3B%20at%20System.Threading.Tasks.Task%601.GetResultCore(Boolean%20waitCompletionNotification)%5Cr%5Cn%26nbsp%3B%26nbsp%3B%20at%20System.Threading.Tasks.Task%601.get_Result()%5Cr%5Cn%26nbsp%3B%26nbsp%3B%20at%20Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.DoValidate(HttpRequestContext%20requestContext)%5Cr%5Cn---%26gt%3B%20(Inner%20Exception%20%230)%20System.NullReferenceException%3A%20Object%20reference%20not%20set%20to%20an%20instance%20of%20an%20object.%5Cr%5Cn%26nbsp%3B%26nbsp%3B%20at%20Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.%3CPARSEREQUESTDATA%3Ed__9.MoveNext()%26lt%3B---%5Cr%5Cn%22%3C%2FPARSEREQUESTDATA%3E%3C%2FPARSEREQUESTDATA%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CFONT%20face%3D%22Consolas%22%3E%7D%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-527246%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

Hi,

 

I am trying to create a test flow to send a ms forms pro survey (I want to use personalised fields).  However, it is failing.

 

We are just using this as a test to see how the email looks like.  so our trigger is just posing any message to a channel.

 

Capturef.PNG

 

{
"ErrorMessage": "System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.<ParseRequestData>d__9.MoveNext()\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\r\n   at System.Threading.Tasks.Task`1.get_Result()\r\n   at Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.DoValidate(HttpRequestContext requestContext)\r\n---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at Microsoft.Forms.Pro.ApiFacade.RequestHandlers.SendEmailsForFlowRequestHandler.<ParseRequestData>d__9.MoveNext()<---\r\n"
}
Related Conversations
Please add "undo" feature to PDF inking
HotCakeX in Discussions on
0 Replies
Forms - auto timestamp responses
Ashburton2020 in Microsoft Forms on
2 Replies
Exporting data from forms to Excel
Ashburton2020 in Microsoft Forms on
2 Replies
Exporting forms data to Excel
Ashburton2020 in Microsoft Forms on
1 Replies