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

InvalidVariableNameException: Invalid variable name: - in pattern Error

Former Member
0 Likes
1,345

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 Member
0 Likes

Hello Evgeniy,

Thank you for your reply.

Yes i tried that too. Unfortunately it is the same error.

One more thing for one parameter is working fine with UDF but if i want multiple parameters. Can you please help me with UDF.

This is my UDF.

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);

return auth_id;

Now I need to return auth_id and auth_token.

Kindly help me.

Regards,

Prashanth Bharadwaj