Create Org Error


#1

Hi,

I am trying to create an organization by running the following command:

chef-server-ctl org-create short_name full_organization_name
–association_user user_name

But it gives me following error:

ERROR: The data in your request was invalid
Response: Field ‘name’ invalid

Any ideas what am I missing here?

Thanks,
Nagesh


#2

Hi,

I’m assuming that short_name, full_organization_name, and user_name
are placeholders for the actual values you are using? If so, the best
guess is that you have an invalid character in your short name. Make
sure that your short_name matches the following regular expression:

[.[:alnum:]_-]+

If those are the actual values, then I’m less sure since that command
works fine for me.

Cheers,

Steven

On Thu, Oct 16, 2014 at 6:29 AM, Nagesh Jaiswal nageshjaiswal@gmail.com wrote:

Hi,

I am trying to create an organization by running the following command:

chef-server-ctl org-create short_name full_organization_name
–association_user user_name

But it gives me following error:

ERROR: The data in your request was invalid
Response: Field ‘name’ invalid

Any ideas what am I missing here?

Thanks,
Nagesh