Hi EnomotoUmi-3783,
The error msg shows that the access token has expired (ValidTo = 2020年7月8日 11:42:00 UTC). It’s not caused by the thumbnail endpoint, you need to refresh the token or generate a new one.
Best Regards,
Baker Kong
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello.
I would like to know about expiration date of thumbnail.
I was using the MS graph API to get the thumbnails of files in SharePoint.
I was able to get the thumbnails successfully, but at some point, I started to get the following error.
{
"error":{
"code": "unauthenticated",
"message": "The access token has expired [ValidTo = 2020年7月8日 11:42:00 UTC]",
"innererror": {
"code": "AccessExpired"
}
}
}
Therefore, I would like to know about the following
1) Does the thumbnail have an expiration date?
2) If there is no expiration date, what is the possible cause of this error?
3) If there is an expiration date, what is the expiration date?
4) If there is an expiration date, is there a way to extend the expiration date?
5) Is there a way to get the thumbnails without being affected by the expiration date?
I will appreciate any kind of help.
Hi EnomotoUmi-3783,
The error msg shows that the access token has expired (ValidTo = 2020年7月8日 11:42:00 UTC). It’s not caused by the thumbnail endpoint, you need to refresh the token or generate a new one.
Best Regards,
Baker Kong