I have been trying to use the "Send an HTTP Request" action in the office365 Outlook connector, and every time it tries, I get a 500 Internal Server Error response.
My parameters are:
Method: GET
I'm not using any advanced parameters at the moment, because I can't get even a simple request to work.
When I look at a failed request, this is what I see:
Parameters:
{
"Uri": "https://graph.microsoft.com/v1.0/me/mailFolders/\n",
"Method": "GET"
}
Status code: 500
Body:
{
"error": {
"code": 500,
"message": "Object reference not set to an instance of an object.",
"source": "(some guid).19.common.usa002.azure-apihub.net",
"path": "choose[7]\\when[1]",
"policyId": "",
"clientRequestId": "(some guid)",
"dreeSet": "true"
}
}
I redacted the GUIDs in case they are sensitive, I don't know.
Anyways, I noticed that any Uri that is sent always has a `\n` at the end, which would normally be a new line character but it looks like it's sending the raw slash + n, and I'm guessing that's the reason. If that's the case, how do I fix it? There's no new line at the end of my URI value in the text box.