[Link resolver error] Unknown type Declared type: homepage Expected one of:\n

Screenshot 2024-05-31 at 10.58.24 PM

I have setup the routes, and file correctly, I dont understand why I am still getting Link Resolver Error. I have also tried to clean .next cache

Hey @mr_g,

Have you created a page type with the ID of homepage, pushed your changes to your repository, and published at least one document with the homepage type?