Closed JohnCoding94 closed 7 years ago
Hello @JohnCoding94. Thanks for the detailed bug report.
I'm also seeing this issue. Can you run wsk api list
and tell me what happens? This is also failing for me which leads me to believe it's a bigger issue than the framework. I'll investigate.
Assuming the OW_APIHOST value was set to openwhisk.ng.bluemix.net, there was a backend API GW domain name change that resulted in the 401. A patch was applied; hopefully, that 401 failure is no longer appearing.
Thanks for the update @mdeuser.
I cannot replicate the issue anymore. @johncoding94 can you confirm that has been fixed for you?
I have just tested again the same way, and it works!
Thanks!
I'm having a similar issues, except I get an empty errors object, instead of 401.
I don't have the gw_access_token configured. How did you generate the API_GW_ACCESSTOKEN ?
Hello @shivekkhurana, the API_GW_ACCESSTOKEN
token can be generated by running wsk bluemix login
. This will retrieve the API gateway authentication token and store it in ~/.wskprops
.
I am getting this error
Failed to deploy function (openwhisk-nodejs-dev-test) due to error: PUT https://api.eu-gb.bluemix.net/api/v1/namespaces/_/actions/openwhisk-nodejs-dev-test?overwrite=true Returned HTTP 404 (Not Found) --> "Response Missing Error Message."
Hi I am trying to deploy a function in IBM Cloud but getting below error. Could anyone please help me?
Failed to deploy function (my-first-service-dev-hello) due to error: PUT https://api.ng.bluemix.net/api/v1/namespaces/_/actions/my-first-service-dev-hello?overwrite=true Returned HTTP 404 (Not Found) --> "Response Missing Error Message."
I could figure out the issue. I was providing wrong APIHOST and AUTH value.
@shobhit921 - Double check APIHOST and AUTH values.
I am trying to deploy a basic function with an HTTP trigger, but it looks like my token is not recognized:
Here are the commands i have exucuted (i copy/paste all values from my ~/.wskprops file):
Do you know why?
I am using serverless-openwhisk@0.7.0 and serverless@1.15.3.
My serverless.yml is: