Error An unexpected error occurred: "Failed to replace env in config: (Trying to push my Gatsby wp blog)

Hello! I’m trying to build my gatsby wp blog through netflify, but it keeps failing the build saying the following:

error An unexpected error occurred: "Failed to replace env in config: ${token}”

does anyone know how to resolve this?

Hey there, @ramccall :wave:

Thanks for reaching out and welcome to the Netlify Forums! by “wp”, do you mean wordpress? If so, I think the following thread will help get you on the right track: