# Error in Preview : Ref / Token

**URL:** <https://community.prismic.io/t/error-in-preview-ref-token/3450>\
**Category:** Developing with Prismic\
**Tags:** rest-api\
**Created:** [January 6, 2021, 2:04pm UTC](https://community.prismic.io/t/error-in-preview-ref-token/3450 "2021-01-06T14:04:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [January 6, 2021, 3:44pm UTC](https://community.prismic.io/t/error-in-preview-ref-token/3450/3 "2021-01-06T15:44:18Z")

</div>

Hello,

Welcome to the Prismic community, and thanks for reaching out to us.

The preview token expires once the saved information has been archived or published. The preview token generated is only valid for the information being previewed at that time. This would suggest that your trying to use an old link after the content has been changed.

It can also be related to cookies. Try to clear cookies by clicking the "X" button on the preview module to exit the preview.

You can see this thread too. We have all the information like **preview troubleshoot guide** in this thread:

> [@Preview error (expired token)](https://community.prismic.io/t/preview-error-expired-token/951/7):
>
> Okey, that was the issue. Manually clearing cookies resolved it. Still, don’t know why this happend when I was clicking preview button every time from prismic app, not using old links.

Let me know if it still doesn't solve the issue.

Thanks,  
Priyanka

---

_[View the full topic](https://community.prismic.io/t/error-in-preview-ref-token/3450)._
