Error when there is no document published for particular custom type

Hi,

Hope this will be soon fixed as well.
Theses errors sound weird, if I push successfully a new field in the custom type, I don't expect this kind of error, any error... :confused: Just empty result.

It require currently to update at least one published document of the concern custom type, to at least one document get this new field, and so avoid the error but it's not user friendly and should not be required.

It remind me How to create 404 page for SSR single blog post? - #18 by webda2l / getByUID call with an unexisting uid trigger a 'api_parsing_error' error. · Issue #237 · prismicio/prismic-client · GitHub that was a similar case due to unpublished document.