cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

InvalidVariableNameException: Invalid variable name: - in pattern Error

Former Member
0 Likes
1,347

Hello Experts,

I am facing the below error during testing from RWB while trying to pass URL dynamically from the Pattern Variable Replacement using Manual value in the REST receiver adapter.

Please find the below screenshot for your reference.

Thanks in advance for the help.

View Entire Topic
former_member190293
Active Contributor
0 Likes

Hi Prashanth!

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey FileName1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/REST","auth_id");
conf.put(FileName1,auth_id);
FileName1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/REST","auth_token");
conf.put(FileName1,auth_token);
return "";

Regards, Evgeniy.