Unable to capture user data in bot

I’m not able to capture user data (height in this case) in a variable with type defined as “number”. Please help.

Error : Incorrect data type assigned to user_height

1 Like

@Prathap_P_S

This looks like a bug from our end.
Can you provide access to gautham.menon@yellow.ai

also, is age stored as string in the above screenshot?!

Hey Gautam,

Currently it’s stored as number. Should I change it to string to make this work ?

on another note, Doesn’t the node support number as data type ? . Please let me know. Thanks.

@Prathap_P_S

I think as a quick workaround, you can store all these values as a string and push this data into a Database (column must also be a string)

I’ve raised this internally, I’ll let you know once we validate the bug on our end.

Can you let me know which node you’re using? Most likely, it should be able to handle the number datatype

Hey Gautam,

Yep, as a workaround, I created new variables with type as string. The node types in discussion : Question, Quick Replies.
As per the following supporting doc, both nodes can handle string only. Had I known this before, I would have created them all as strings. Thanks.

1 Like