Get all old UIDs associated with a given document

This is being tracked as an open feature request.

If you have another use-case for this feature, you can 'Flag' this topic to reopen. Please use the :heart: button to show your support for the feature and check out our Feature Request Guidelines.

We recently had an issue with this.

We decided to create a new document type and manually migrate from the old to the new.

We were unaware that one document had an "old" UID, since this was not discoverable anywhere within Prismic. When we migrated, we made sure all documents were migrated by looking at the documents in Prismic, but because the old UID was not discoverable anywhere, this was missed. Traffic hit the old UID resulting in 404 errors and it took us some time to get to the bottom of the issue.

It should be possible to find alternate UIDs for a document because as-it-stands, they're effectively "secret" unless you already know they exist.

Thanks :slight_smile:

Hi Eilidh,

I know how this can be time-consuming as a process and hopefully, the team will be able to look into this issue soon.

I know this is on their radar but it's not currently being worked on. If/when this changes the team will update everyone here.

Thanks.