You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting up a new Gatsby Wordpress site, I was experiencing a lot of errors that looked like this:
⠄ source and transform nodesThe server response was "401 Unauthorized"
Inner exception message : "You are not currently logged in."
As a new Gatsby user, I had no idea what this meant. It appeared to be a major blocking issue, but turned out to not be a big deal.
My suggestion is to log the paths to the routes that are failing so it's easy for the developer to update excludedRoutes. I ended up hacking the plugin to print the routes so I could figure out what was going on.
Motivation
These errors are very intimidating to new users, and difficult to debug. We can improve the developer experience significantly with a little bit of work on the error logs.
The text was updated successfully, but these errors were encountered:
@kakadiadarpan I unfortunately don't have time to put a lot of thought into this right now, but I just submitted a small PR which I think is a good first step that will make a big difference. Let me know what you think. Thanks!
Summary
When setting up a new Gatsby Wordpress site, I was experiencing a lot of errors that looked like this:
As a new Gatsby user, I had no idea what this meant. It appeared to be a major blocking issue, but turned out to not be a big deal.
My suggestion is to log the paths to the routes that are failing so it's easy for the developer to update
excludedRoutes
. I ended up hacking the plugin to print the routes so I could figure out what was going on.Motivation
These errors are very intimidating to new users, and difficult to debug. We can improve the developer experience significantly with a little bit of work on the error logs.
The text was updated successfully, but these errors were encountered: