cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

400 Error on Send Email with Option

Not quite sure what is going on here, some help would be appreciated.

Overview of this Flow: PowerApp saves to SharePoint List (that is working fine), and it kicks off this flow.  This flow checks for attachments, if it has any, it goes through and grabs those files into an initialized array.

When it gets to the email sending, it bombs with Error 400.

Error
Flow

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: 400 Error on Send Email with Option

Hi @secorrales,

 

I can reproduce this issue on my side. It seems that when the attachment variables are used in the flow, it would return the error message you mentioned. While without using the attachment variables, the flow would send emails with separate attachment.

Please try to use dynamic contents of Attachment name and Attachment content instead of variables.

I will help report this issue on my side and back to you later.

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: 400 Error on Send Email with Option

"Please try to use dynamic contents of Attachment name and Attachment content instead of variables." Can you further explain this statement?  I am having the same problem.

Highlighted
Super User
Super User

Re: 400 Error on Send Email with Option

@v-yamao-msft and @RandyHayes ,

Any idea why this status 400 is happening? I followed the instructions here and here to a "T".

Thank you!

 

image.png

Highlighted
Super User
Super User

Re: 400 Error on Send Email with Option

Found the solution by carefully reading the comments in the original Blog post. 

image.png

image.png

 

Hope this helps!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (5,386)