Replies: 1 comment 1 reply
-
If clearing your cache solve the problem, it's probably due to an access to the cache himself …
Can you share your query ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my Wordpress I am attaching a Product to my Post and I am building my site using Gatsby
When that product is deleted and Netlify builds again it gives the following error:
There was an error in your GraphQL query:
Cannot return null for non-nullable field WordpressWpProduct.databaseId.
The field "WordpressWpProduct.databaseId." was explicitly defined as non-nullable via the schema customization API (by yourself or a plugin/theme). This means that this field is not optional and you have to define a value. If this is not your desired behavior and you defined the schema yourself, go to "createTypes" in gatsby-node.
In order to resolve this I have to Clear Cache on Netlify everytime. Is there any way to solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions