Apigeetool - addEntryToKVM.js is failing on non-CPS orgs

phanim
Participant II

Hi

Tthe apigeeTool is using CPS based API.

Just looked into Apigee Tool code https://github.com/apigee/apigeetool-node/blob/master/lib/commands/addEntryToKVM.js

The request URL that is being formed is

If we make a request like below to a non-CPS org the call fails.

apigeetool addEntryToKVM -u phanim@apigee.com -o <non_cps_enabled_org> -e <env> --mapName <map_name> --entryName test1 --entryValue value1

The error message is

Error: KeyValueMap Operation CreateKeyValueMapEntry is not supported for the organization <org_name>

Can you look into it?

0 1 132
1 REPLY 1

Not applicable
/* jshint node: true */
'use strict';
var util = require('util');
var _ = require('underscore');
var defaults = require('../defaults');
var options = require('../options');
var command_utils = require('./command-utils')
var descriptor = defaults.defaultDescriptor({
environment: {
name: 'Environment',
shortOption: 'e',
required: false

Try this code skype customer support