This issue is based on this repository “Headless Multilingual Starter for Gatsby 4 with DatoCMS”.
I unchecked the All locales required? option in the model settings and published the only Italy version post.
But the other language options still show up on the header. When I clicked the other language, the error comes out like the below screenshot. I guess that it is failed to query data of other language.
In this case, how should I fix the code or setting on datocms console ?