Conditionals For Editing Data

Options

Whether I use PUT, PATCH, or POST to edit data, I run into this issue. I followed the following video and used both methods shown:

Yet I am presented with this error:

This is what I personally did:

Method 1.)

Method 2.)

Where am I going wrong?

Tagged:

Answers

  • arturosanz
    arturosanz Member ✭✭
    Options

    @NWold make sure the path is a TEXT constant. Whenever you input any text, Xano first checks if there is any INPUT with that name, if not, then checks if there is any VARIABLE with that name, and if not, then it assumes it is a TEXT constant. In your case, the paths are all TEXT constants, but you have them as INPUTS, and when those are empty, there is no path to check with the set_ifnotempty filter.