django-qsessions icon indicating copy to clipboard operation
django-qsessions copied to clipboard

deck dump error "Error: reading configuration from Kong: plugins: json: cannot unmarshal array into Go struct field Plugin.config of type kong.Configuration"

Open ericmm opened this issue 2 years ago • 0 comments

Hi there,

Hope you are doing well!

I was trying to use deck command to get a snapshot of what we have in our dev environment, the deck ping command run successfully (please see below).

deck ping --headers $ADMIN_TOKEN --kong-addr https://**** Successfully connected to Kong! Kong version: 2.7.1.0-enterprise-edition

When I run deck dump --headers $ADMIN_TOKEN --kong-addr https://****, it gave me following error.

Error: reading configuration from Kong: plugins: json: cannot unmarshal array into Go struct field Plugin.config of type kong.Configuration

FYI: We have developed some custom plugins, not sure if it's related. when I ran deck version, it gave me following: decK v1.12.2 (6811b77)

ericmm avatar Jun 28 '22 05:06 ericmm