"Keyvaluemap Already Exists" Error while configuring Edgemicro Alpha v2.6.1

Not applicable

Hello, I am facing the Keyvalue map already exists error when configuring the MGW Alpha v2.6.1. I am using v4.17.01.01 On-Prem. Below is the error trace. Can you pls provide a fix ?

current nodejs version is v6.11.3 current edgemicro version is 2.6.1-alpha password: delete cache config deleted /root/.edgemicro/org1-public-dev-config.yaml init config file doesn't exist, setting up Proxy edgemicro-internal is already deployed edgemicro-auth is already deployed checking org for existing vault creating vault adding private_key adding public_key { Error: cannot POST http://<<HOST>>:8080/v1/organizations/org1/environments/public-dev/keyvaluemaps (409) at translateError (/usr/local/nodejs/lib/node_modules/edgemicro/cli/lib/cert-lib.js:367:11) at Request._callback (/usr/local/nodejs/lib/node_modules/edgemicro/cli/lib/cert-lib.js:353:11) at Request.self.callback (/usr/local/nodejs/lib/node_modules/edgemicro/node_modules/request/request.js:186:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request.<anonymous> (/usr/local/nodejs/lib/node_modules/edgemicro/node_modules/request/request.js:1163:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage.<anonymous> (/usr/local/nodejs/lib/node_modules/edgemicro/node_modules/request/request.js:1085:12) at IncomingMessage.g (events.js:292:16) text: { code: 'keyvaluemap.service.keyvaluemap_already_exist', message: 'KeyValueMap microgateway already exists', contexts: [] } }

0 3 182
3 REPLIES 3

Former Community Member
Not applicable

MG v.2.6.1-alpha is not a version I'd recommend. The latest stable version is v2.5.4. Can you please try with that version?

npm install -g edgemicro

We are trying the Alpha version to use the new feature of choosing the plugins that can be applied per proxy. Currently we are handling this in MGW 2.5.4 using a custom plugin but we are facing an error. MGW shuts down when an error is encountered in the plugin. I have raised a support case 1432687. Can you pls check ?

Former Community Member
Not applicable

Understood. Here's what I think you can do. Use v2.5.4 to configure MG. Then upgrade to v2.6.1-alpha. Do not configure using the alpha.