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): “cdn.contentful.com
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.
https://app.netlify.com/sites/vincenttern/deploys/5df934281f9ce2000866eb1b

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

Let us know how it goes!