-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: ECONNREFUSED - /wp-json/wp/v2/types #16
Comments
I'm having this same issue |
Hi @simduchaine I had the same error but I was giving the wrong |
@Alligatore3 Here's my
And here's my ENV variable: Note that I'm trying to fetch a live prod website not a local wordpress env. |
@simduchaine I tried with my remote env, I put my URL like this: Actually I got another error 😅 but at least not this one. |
@Alligatore3 tried your suggestion, didn't get the |
I know this is quite a few months old but for someone else who might run into this issue I was able to solve it by adding a |
What is the exact file name for the |
The exact file name is |
Using this theme as is, I thought, inside the I actually, had to remove the entire Remove:
Then in my Netlify account, goto Settings > Build & Deploy > Environment Variables, add the same credentials from my For example: Key = Now it works. |
When I'm running "gridsome explore" or "gridsome develop" commands, I get this error:
I tried the endpoint /wp-json/wp/v2/types in my browser and in Postman and I was able to access the endpoint without any problem.
The text was updated successfully, but these errors were encountered: