I am getting an infamous cast error when a block provides relationships to, in this case, a page with at least one media field:
CastError: Cast to ObjectId failed for value "info" (type string) at path "_id" for model "media"
And my query ist:
{
Pages {
docs {
aLexicalField
}
}
}
Must be a db gltich due to many migrations, closing
Star
Discord
online
Get dedicated engineering support directly from the Payload team.