3scale-archive / 3scale-cli

DEPRECATED Beta of 3scale CLI, manage your 3scale installation directly from terminal (community supported)
https://www.3scale.net
MIT License
9 stars 21 forks source link

node error when trying to create a new activedoc #36

Closed lucamaf closed 7 years ago

lucamaf commented 7 years ago

here is the command: 3scale-cli activedocs create -f cortica.json

here is the error:

ERROR encountered: undefined
(node:32607) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Server responded with status code 422 undefined

and the swagger is here: https://app.box.com/s/5p9dr7rua19ebam1cvas0hmchcgtdul8

picsoung commented 7 years ago

hi @lucamaf I could not reproduce your issue

using the following command it worked great

3scale-cli activedocs create -f swagger.json