Hi,
I'm getting this error message after posting a uploaded video as a link
{"error":{"code":"JwtAuthoriser:TokenExpiredError","title":"Token verification failed: jwt expired","href":"https://api.media.atlassian.com#UnauthorizedError"}}
It works fine for maybe 30 minutes or 1 hour. The message will appear after that.
How can i fix this?
The JWT (JSON Web Token) is used to authorise the user for the upload/download action. This error means that the token has expired, meaning it is no longer valid for authentication. Any download or upload action interacts with the media storage. For security reasons, a JWT token is generated for the user, which has an expiry of ~10minutes. In certain cases, when the user clicks on the link after a while, the token expires by then.
Another potential cause is cache, if there was an API call made to the media storage with another token previously, and the browser retains the token cache, it is possible that the expired token is used
Hello,
I have the same problem, I exported a file in PDF format containing a link, it works, but it stops working after a while.
Is there any configuration I can check to resolve this?
Thankful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, Adilson.
Thank you for reporting this, and welcome to Atlassian Community.
The original issue that was causing the token expired error for Kenny was resolved in April, so it's likely yours is expiring for another reason.
I would recommend that you report this to your Confluence site admin, so they can raise a ticket with our Cloud support team, and we can take a look and see what might be causing the error for you.
Thanks again, and take care.
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kenny,
Thank you for reporting this issue to us. It appears this could be related to the following bug:
A linked bug says that there's a workaround that the Cloud Support Team can apply to your site. It requires a support ticket so we can request access to your Cloud site. You can report this to your Cloud site administrator, and they can raise a ticket with us, so we can apply the fix for you.
Thank you again, and let me know if you have any trouble.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kenny/Shannon,
We've actually just pushed out a fix for this. So hopefully this should be fixed in the next couple weeks for customers.
Thanks
Owen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Owen,
Great news! Thank you for the quick follow-up!
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.