The ref ("...") was invalid. Now retrying with the latest master ref (...). If you were previewing content, the response will not include draft content

I get this warning on every safe in my development setup:

The ref ("...") was invalid. Now retrying with the latest master ref (...). If you were previewing content, the response will not include draft content.

I use Next.js 15 with the app router.

Has someone an idea what the problem can be?

1 Like

Hi @andreas.markl,

Can you give me a little bit more context on where and when this is happening?

Hey,
I can see this in my vercel logs. If I visit a special route and the request is not cached I get this warning like 50 times on the same request.

Hi @andreas.markl,

This looks similar to this issue:

Could you have a look and let me know if it helps?

Hi, I am now facing the same issue since I upgrade to Next.js `15. It happens in my localhost.

Hey, I have no solution also to this day.

Hey all, since this is specific to Next.js, it might be best to reach out to their help center