Hi,
I am trying use MS graph API to send email from UiPath environment by using HTTP requests and getting issue related to message body format/type. Please guide me if anyone similar kind of issues/suggestions. (attached screenshots)
FYI- I am able to read the email by using MS graph API .
Thanks,
Kartheesan![MSGraph-API-sendemail|690x339]
(upload://mSBsZmXhZtvHYSvFh1eMV1cLdxl.jpeg)
HareeshMR
(Hareesh Madasi)
July 31, 2019, 4:55pm
3
Change the body format to application/json and check @Kartheesan ,
May be the response will be the JSON format
yes, Thanks hareesh, I have already tried with “application/json” body format and no luck for me(Same error message).
message variable/parameter : “{”“subject”“: ““Meet for lunch?””, ““body””: { ““contentType””: ““Text””, ““content””: ““The new cafeteria is open.”” }”
Thanks,
Kartheesan
HareeshMR
(Hareesh Madasi)
August 1, 2019, 6:12am
5
Are you able to get the response in POST man @Kartheesan ?
Please try in postman and check whether it is giving the correct response…
and try body as
application/json;odata=verbose
Thank you Hareesh, I have tried this body format application/json;odata=verbose and got same error message.