Hi Ragav,
Looking at the Native Service 401 error, it might be a case that API Gateway doesn’t pass the query parameter to Native Service.
Please check if you have configured your Routing Endpoint URI to end with ${sys:resource_path}. ${sys:resource_path} ensures path parameters and query parameters are passed on to native server.
Alternatively, you can configure the extended setting “forwardQueryParams” to true. Description of this extended setting is given below.
"Specifies whether API Gateway should forward the query parameter sent by client to the native service if the ${sys_resource_path} variable is not present in the Routing policy URL. The default value is ‘false’.
Possible values:
true - API Gateway forwards the query parameters sent by client to the native service even if the S(sys_resource_path) is not present in the Routing policy URL.
false - API Gateway does not forward the query parameters to the native service if the $(sys_resource_path) is not availabile in the Routing policy."
Please try this and check if this works.
Regards,
Vallab
#API-Gateway#webMethods