We are trying to query for content in Contentful CMS and we are receiving the following error:
errors: [ { name: 'unknownContentType', value: 'DOESNOTEXIST' } ]
This query had been previously work and the Content Type does exist in the backend.
Anyone experienced this problem before?
This is out query:
const result = await client
.getEntries({
content_type: "page",
"fields.path": context.params.slug,
})
.then((response) => {
return response.items
})