Text Filter require scalar value error
Hi, please see here: I had a fgunction that WAS working, I added a step, now it gives me a scalar value error... I deleted that step, it still give me the error...
Best Answer
-
Hey @Mark.H! Seems like this issue was fixed. 🙌 I'm going to add some context to this post so that others experiencing similar issues can learn from it. 😊
The error
text filter requires a scalar value
essentially means that a list is being sent to a single field or input.The debugger displays the sequence leading up to the function in which the error occurs, indicating that the issue likely lies within your edit record function.
This loom video describes the concepts further:
A quick tip: Ensure the variables you are providing on the field that is expecting a single input, unless it's being saved into an array or an object, is also a scalar value itself.
Answers
-
I put a couple comments in your video. That scalar value error usually means that it's expecting a string or number but is instead getting an object or array. What is the transcript variable value?
-
The transcript variable value is text only. No punctuation or anything either. Just a block of text. It's odd that that one step would have a problem with it and the other steps woudlnt, they all reference it the exact same way.
-
Ok, well in my experience, that's what you need to look for. text filters where you are passing in something that is not text. Good luck with it.
-
Hey @Mark.H,
I can see why this is frustrating. Can you reach out to us via support chat by clicking 'Support' in the lower-left corner of your instance selection screen? We need to take a closer look at what is happening.
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