Hello All,
I am trying to run this simple openwhisk-node-http-endpoint example on local Openwhisk.
When I try to deploy this example by running the command serverless deploy
, I get the following warning followed by an error:
Warning: You're relying on provider "openwhisk" defined by a plugin which doesn't provide a validation schema for its config.
Please report the issue at its bug tracker linking: https://www.serverless.com/framework/docs/providers/aws/guide/plugins#extending-validation-schema
You may turn off this message with "configValidationMode: off" setting
Compiling Functions...
Compiling Packages...
Compiling API Gateway definitions...
Compiling Rules...
Compiling Triggers & Feeds...
Compiling Service Bindings...
Deploying Functions...
Deploying API Gateway definitions...
Environment: linux, node 16.15.1, framework 3.21.0, plugin 6.2.2, SDK 4.3.2
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues
Error:
Failed to deploy API Gateway route due to error: POST http://172.17.0.1:3233/api/v1/web/whisk.system/apimgmt/createApi Returned HTTP 502 (Bad Gateway) --> "API creation failure: Unable to configure the API Gateway (status code 400): {"status":400,"message":"Error: Resource path must begin with '/'."}"
I am running the local Openwhisk by using the command java -jar openwhisk-standalone.jar --api-gw
as shown here .
Any help would be really appreciated.
Regards.