Import failed to /v1/organizations/nikhil.birra/apis?action=import&name=nodejs-baas-cookbook with status 404:

Not applicable

I am trying to import form github

https://github.com/apigee/api-platform-samples/tree/master/doc-samples/nodejs-baas-cookbook

And i am getting the below error.

Import failed to /v1/organizations/nikhil.birra/apis?action=import&name=nodejs-baas-cookbook with status 404: { "code": "Forbidden", "message": "Forbidden", "contexts": [] }

Solved Solved
0 7 229
1 ACCEPTED SOLUTION

@Nikhil Preeth I just tried out and it worked perfectly for me.

You are getting this error while running the deploy.sh script right? Given that it is a 404 and not a 401 you do not have issues with the credentials. My guess so far is the org name you passing may be wrong? Is nikhil.birra the correct org name or this is your username?

View solution in original post

7 REPLIES 7

@Nikhil Preeth I just tried out and it worked perfectly for me.

You are getting this error while running the deploy.sh script right? Given that it is a 404 and not a 401 you do not have issues with the credentials. My guess so far is the org name you passing may be wrong? Is nikhil.birra the correct org name or this is your username?

Yes nikhil.birra is my org name.

There is a setenv.sh file,in which there is url and api_domain exist.For which i left it as

https://api.enterprise.apigee.com and

apigee.net.

Those are fine. Can you please show your setenv.sh file? Attach it here maybe?

I just tried to create an org with dot in the name and I get an error "Only letters, numbers and hyphens are allowed." I have never seen an org with a DOT in it. Even if it got created somehow I think that is what is messing it up.

Can you try to create a new org with a name which follows the above rule. And let us know what you found out?

Yes your right ,i had this problem and i changed the organization name.it worked thanks.

Not applicable

I am trying to run invoke.sh now and it gives me the following error

./invoke.sh: line 11: curl: command not found

curl is a command line utility which must be pre installed on your laptop. Get it here: http://curl.haxx.se/ ... or via apt-get/yum eyc. based on your os.