Apr 20 2020 11:32 AM
Hi,
One of my scheduled workflow that was running without error for months is having an issue today.
It is a SharePoint HTTP REST call to graph api to get the content of a page thumbnail. It returns a status 302.
The Get method URI is something like this:
https://contoso.sharepoint.com/_api/v2.1/sites/contoso.sharepoint.com,xxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxx,xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/items/xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/driveItem/thumbnails/0/c400x99999/content?preferNoRedirect=true&prefer=extendCacheMaxAge&clientType=modernWebPart
The output is this:
{
"status": 302,
"message": "",
"source": "https://contoso.sharepoint.com/_api/v2.1/sites/contoso.sharepoint.com,xxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxx,xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/items/xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/driveItem/thumbnails/0/c400x99999/content?preferNoRedirect=true&prefer=extendCacheMaxAge&clientType=modernWebPart",
"errors": []
}
{
"$content-type": "image/jpeg",
"$content": "XXXXXXXXXXXXXXXXXXXXX"
}
Don't understand why I'm starting to get this issue today. Has something changed?
Thanks.