Skip to content

Invalid use of getDataEntryById or getEntryBySlug function.

GetEntryDeprecationError: The METHOD function is deprecated and cannot be used to query the “COLLECTION” collection. Use getEntry instead.

The getDataEntryById and getEntryBySlug functions are deprecated and cannot be used with content layer collections. Use the getEntry function instead.

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community