Error of "[...] is not a string" seen in audit events. How do I see the content of the context variable?
Document ID :
Last Modified Date :
Show Technical Document Details
CA API Management Gateway
When I try to audit a context variable in policy, it tells me it "is not a string and cannot be converted to one".
How do I see the contents of the context variable in the audit event viewer when it isn't a string?
All versions of the CA API Gateway.
When the content is not a string type, it is generally necessary to add the following text to the end of the context variable in the audit assertion:
When the error shown in the audit viewer is
Variable 'attribute.current' is not a String and cannot be converted to one. (Actual type:
the audit assertion logging it should be changed from having a context variable named
to a context variable named
Was this information helpful?