OAS policy has an error message that looks something like this:
OASValidation OAS-ValidateFromSwagger with resource "oas://tokenizacion-v1-openapi.yaml": failed with reason: "[ERROR - [Path '/solicitud'] Object has missing required properties (["idSuscripcion"]): []]"
And it is saved in the variable "OASValidation.OAS-ValidateFromSwagger.fault.cause". How do I go about extracting this error message to create a custom error payload?
Is there a variable I can call that only returns the reason?