-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
Getting the below error while download the emails. can any one help me to fixe this.
Invoke-RestMethod: /home/kali/Desktop/temp/GraphRunner/GraphRunner.ps1:6000
Line |
6000 | … geDetails = Invoke-RestMethod -Uri "https://graph.microsoft.com/v1.0/ …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| { "error": { "code": "RequestBroker--ParseUri", "message": "Resource not found for the segment
| \u0027JyjBpl5RBwB7yp11beL6SJQMaLR97mVkAAAAAAEJAAB7yp11beL6SJQMaLR97mVkAAAAAjstAAA=\u0027." } }
MethodInvocationException: /home/kali/Desktop/temp/GraphRunner/GraphRunner.ps1:6002
Line |
6002 | … $dateTime = [DateTime]::ParseExact($dateTimeString, "yyyy …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Exception calling "ParseExact" with "3" argument(s): "String '' was not recognized as a valid DateTime."
InvalidOperation: /home/kali/Desktop/temp/GraphRunner/GraphRunner.ps1:6003
Line |
6003 | $numericDate = $dateTime.ToString("yyyyMMddHHmmss")
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| You cannot call a method on a null-valued expression.
Metadata
Metadata
Assignees
Labels
No labels