I’m new to Netlify and have been encountering issues deploying my Netlify. I get the following error after I type “netlify deploy” and then click on " + Create & configure a new site ": TextHTTPError: Unauthorized.
These are the exact steps that I follow:
$ netlify deploy
This folder isn’t linked to a site yet
? What would you like to do? + Create & configure a new site
TextHTTPError: Unauthorized
I’ve tried the deployment both on the Netlify CLI and the on the GUI online but get same error.
I would really appreciate some help regarding this isáue. Thanks in advance.
I didn’t see any followup here, anyway we are getting the same issue. We are not able to deploy the react application either through Netlify GUI or Cli.
We are getting following issue on Cli, it was working well till 12/04/2021, but not Today.
$ netlify deploy
Please provide a publish directory (e.g. “public” or “dist” or “.”):
C:\Users\venuk\Documents\Enposs\Enposs
? Publish directory C:\Users\venuk\Documents\Enposs\Enposs\build
Deploy path: C:\Users\venuk\Documents\Enposs\Enposs\build
Deploying to draft URL…
» Warning: TextHTTPError: 401
» Warning:
» TextHTTPError: Unauthorized
»
TextHTTPError: Unauthorized
We are not able to deploy through Netlify GUI also, application is working very well locally and on Netlify too till 12th April.
netlify logout
netlify : The term ‘netlify’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
netlify commands would only work if Netlify CLI is installed globally. If not, you need to run it as npx netlify (assuming you’ve installed netlify-cli as a dependency of your project).