key value map error

I created a new key value map under environment section. Added new key value pair to it.

Then referred this newly created KVM inside a KVM policy.

And used the value in service call out, but its erroring out. The error I am getting is:

{“fault”:{“faultstring”:“Failed to set variable somevariableName in KeyValueMapStepDefinition someDefinition”,“detail”:{“errorcode”:“steps.keyvaluemapoperations.SetVariableFailed”}}}

Please help.

Show the KVM policy configuration.

What do you mean by “used the value in ServiceCallout” ?

You should be able to run a Trace/Debugsession to confirm that the KVM GET policy has succeeded. Have you done that? Can you see that the variable you expect to hold a value, is actually holding the value?