Bilal
 · Founder @ Deli (coming soon)

Updating User Document Using Enum Not Working?

Resolved

A document in my user collection is an Enum. I've set up an action to update the document's Enum on a button click. For some reason, when the action is triggered and attempts to update the document, I get the following error and the action chain breaks.

Here's my user collection schema for the enum and how I made it (replicated for illustration purposes):

Enum:

The action and its variable:

Variable:

I thought it would be straight forward, but for a reason unknown to me, it's not working. Any help solving this will be much appreciated.

3
19 replies