Need help with fail stage building site

I get error below on localhost when I run gatsby develop or gatsby build

Problems with gatsby-source-contentful plugin options:
spaceId: undefined - “spaceId” is required
accessToken: undefined - “accessToken” is required
host (default value): “
environment (default value): “master”
downloadLocal (default value): false
localeFilter (default value): [Function]
forceFullSync (default value): false

When I push changes to github I get this deloy fail, I need advice to debug this issues, Thanks in advance.

To debug failing builds, please follow the steps in this article:

Let us know how it goes!