npm / www

community space for the npm website
https://npm.community
69 stars 48 forks source link

400 Forbidden when creating a package #373

Open gmox opened 6 years ago

gmox commented 6 years ago

Link to the page

https://www.npmjs.com/settings/organization name here/teams/team/team name here/access

Logged in or logged out?

Logged in

Expected behavior

A package gets created or I get an informative error about the validation issues

Actual behavior

I get a pop up saying "Forbidden." The actual response has a status code of 400, a message of "Forbidden." The request ID is "XBxfEjqcQjCALFxnoYF3eA=="

Steps to reproduce the problem

  1. Go to create a package
  2. See the error

Browser with version

Firefox 59.0.2

Any error message?

"Forbidden"

kujon commented 6 years ago

Is anyone working on this? We stopped being able to create packages altogether.

crwgregory commented 6 years ago

Just created a new account and payed for private repos to find out we can't create packages because of this 400...

jefflembeck commented 6 years ago

Unfortunately, the add package button will add a private package to your team, but will not create the package outright. You’ll still need to create and publish it the same way

jefflembeck commented 6 years ago

We’re working on a better UX for all of this. Thank you for the issue!

crwgregory commented 6 years ago

Ok, so it's a mistake on how I was using it. I'm new to npm publishing. From my perspective I should just be able to click on, 'New Package' and have a package created that I can start working with. But I probably need to be using the cli for publishing. So then the 400 could have been trying to add a package that wasn't in my network.