sp132S
ZITADEL16mo ago
sp132

Logs for failed actions

I have a problem with Complement Token Action which I'm not sure how to solve.

If I uncheck "Allowed to fail" - introspection returns
"active": false
for some of the users. I was able to narrow the problem to this piece of code that I'm using in my Action but there are no logs to aid me with further debugging.
let watermark = ctx.v1.user.getMetadata().metadata.find(v => v.key === "watermark")

if (watermark) {
  api.v1.claims.setClaim('watermark', watermark.value);
}

Does someone know what's happening?

I'm running self-hosted 2.54.9
Was this page helpful?
Logs for failed actions - ZITADEL