Deploy fails - cannot access contentful space

I can’t deploy my site after adding contentful.
Error message saying
“error Cannot access Contentful space “*********hh” on environment “master” with access token “***************************************JeVI”. Make sure to double check them! (value)”

but I have provided the accurate SpaceID and AccessToken as environment varaibles under Build & deploy - environment. The build does work locally!

hi there, try removing the prefix GATSBY. I am not sure that’s needed to make contentful work.