Gatsby Netlify CMS Build Error

Hello everyone I have been trying to delete a post via the Netlify CMS from my Gatbsy site but it keeps on bringing up this error, kindly see the build error below:

8:07:23 PM: error There was an error in your GraphQL query:
8:07:23 PM: Field “social_image” must not have a selection since type “String” has no subfields.
8:07:23 PM: This can happen if you e.g. accidentally added { } to the field “social_image”. If you didn’t expect “social_image” to be of type “String” make sure that your input source and/or plugin is correct.
However, if you expect “value” to exist, the field might be accessible in another subfield. Please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have.
8:07:23 PM: It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don’t have to add the mentioned
“dummy content”. Visit our docs to learn how you can define the schema for “undefined”:
8:07:23 PM: Customizing the GraphQL Schema | Gatsby
8:07:23 PM: failed extract queries from components - 1.778s
8:07:23 PM: error Command failed with exit code 1.
8:07:23 PM: info Visit yarn run | Yarn for documentation about this command.

Any assistance will be highly appreciated.

Hi @JohnMunuve,

Did you try to clear cache and deploy?