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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Office365.SendEmailV2 ...
Power Apps
Unanswered

Office365.SendEmailV2 failed: {"status:" 400, "message": No input parameters provided. Please provide required input parameters.

(0) ShareShare
ReportReport
Posted on by 99

Hi, I am getting this error now on my OnSelect of a submit button, which literally popped out of nowhere. I didn't make any modifications to anything.

 

Office365.SendEmailV2 failed: { "status:" 400, "message": No input parameters provided. Please provide required input parameters 'To', 'Subject' and 'Body'.\r\nclientRequestId:8d74306b-de41-44aa-ac0f-a6b93be9760a", "error": {"message": No input parameters provided. Please provide required input parameters 'To', 'Subject' and 'Body'."}, "source": 01.p.azurewebsites.net"}

 

I couldn't find a solution anywhere. The error in the OnSelect is in this function:

 

Office365.SendEmailV2(
hidden_queued_managers,
"A New Problem Has Been Submitted to " & Dropdown_Process.Selected.Process & " Team. Please Assign a Problem Lead.",
"A new problem has been submitted to the " & "<b>" & Dropdown_Process.Selected.Process & "</b>" & " team in the " & "<b>" & Dropdown_OwnerGroup.Selected.Result & "</b>" & " Group. Please click the link below to navigate to the Admin Tool to assign a Lead to begin investigating this Sherlock." & "<br>" & "<br>" & "
You can process the problem and assign a Lead by clicking the following link:" & "<br>" & "<br>" & "insert link here",
{
Importance: "High",
Cc: hidden_queued_process_leads,
IsHtml: true
}
)

 

This was working completely fine until this week. I looked at the label I'm using for my To in the email:

hidden_queued_managers = 

Match(Concat(Filter('Cascading Dropdown (Do Not Remove)',Dropdown_Process.SelectedText.Process in Process And Dropdown_OwnerGroup.SelectedText.Value in 'Owner Group'),Manager.Email&", "),"^(?<trim>.*), $").trim

 

I noticed it's telling me:

Dropdown_OwnerGroup = PowerApps encountered an internal error trying to evaluate this expression. | Data type: Control

 

Any help would be very, very appreciated!

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @ninos-shiba 

    Just to clarify, hidden_queued_managers is a label on your screen? I think you need to need to reference the Text property in your call to SendEmailV2 like so:

    Office365.SendEmailV2(
     hidden_queued_managers.Text,
     "A New Problem Has Been Submitted to "...... 

     

     

  • ninos-shiba Profile Picture
    99 on at

    Correct, it is a label on my screen that is invisible (visible = false). It was working before though. 😞 Should I change it then?

  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @ninos-shiba 

    Yes, I would change that to see if that helps.

    You could also make the label visible whilst you're diagnosing this, to confirm that the label is producing a valid and correct 'to' value.

  • ninos-shiba Profile Picture
    99 on at

    The label appears normal, i.e., it's a string and looks like this:

    "firstname.lastname@company.com"

  • Michael_Scott Profile Picture
    106 on at

    Have you tried to add the word Outlook to the call? You have:

    Office365.SendEmailV2(hidden_queued_managers.....);

    I just tried with this and it worked for me. (I changed the emails and such to post here.)
    Office365Outlook.SendEmailV2("someone@email.com", "this is the subject", "this is the body", {From: User().Email, Cc: "another@email.com", Importance: "high"})

    Ive never used Office365.SendEmailV2, I've always used Office365Outlook.SendEmailV2. Not sure if you use outlook but if so that might fix it. Good luck!

  • ninos-shiba Profile Picture
    99 on at

    This did the trick! Thank you!!!

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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard