List as input won't work
I want an input to be a list, but I get this message - what does it mean and how do I solve it?
Answers
-
Hi @filiphartman. The input is fine, but I expect there is an error coming from where you're trying to refer to the list in the function stack. Can you show me what you're trying to do with it?
-
Did you set your input to be a list?
-
Okay, it seems so!
So I'm basically want to filter the database based on if the "users_id" is found in the "notification.to"-column.
It says that it requires an integer - but if I try to create a new variable that is an integer I get the same error still -
And yes, the input is set to list
-
Provided that the field
to
in thenotification
database table is a list, the operator == won't work. You will want to useoverlaps
instead.
Also, in the screenshot, the inputusers_id
is apparently set as text and the fieldto
is presumably a table reference containing unique IDs, which are integers. Let me know if this information was helpful. -
Aha, "overlaps" was the piece of the puzzle I was missing, thanks a lot!
-
There might actually be a bug here. All of a sudden the following isn't working and throwing the following error:
Error -
Update. Believe it not, the string "dyn" is causing this error. @Chris Coleman Please look into this.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback