BundleValidationError: Invalid number

Currently getting

BundleValidationError

Validation failed for 2 parameter(s).

  • Invalid number in parameter ‘Vacancy’.
  • Invalid number in parameter ‘Vacancy’.

but I’ve checked through and made sure the input type for parameter ‘Vacancy’ is number so I’m kind of stuck at resolving this error. Any help would be greatly appreciated!



1 Like

Hi @yth
Use function parseNumber() to convert string to number and give a try. If you can share the setup of datastore module we could further assist you.

Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

Hi @Msquare_Automation,

I tried your suggestion but I’m still getting the same error :frowning:
image

Here’s the structure of the datastore I’m trying to update:



Appreciate your help!

1 Like

HI @yth

Apply the function for vacancy alone.

Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

Hi @yth

Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

Hi @Msquare_Automation,

I’m still getting the same error :frowning:

1 Like

Hi @yth

{{if(70.Teacher = 1.CallbackQuery.Data; parseNumber(49.Vacancy); parseNumber(70.Vacancy))}}

Copy the same code and try.

Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

Hi @Msquare_Automation,

Yup I did
image

but I’m still getting the same error…

Did it work for you?

1 Like

Hi @yth

Make sure there are no extra spaces or special characters when mapping this variable. Additionally, to confirm that the mapped variable is a number, hover over the variable to verify its type is set to “number.”


If it is showing text, then apply parseNumber Function there also.

Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation

Hi @Msquare_Automation,

I’ve checked the things you mentioned and there’s no issues but somehow, I’m still encountering the error.

1 Like

Hi @yth

Did you try parseNumber function inside the datastore module whare you pass the vacancy variable?
image

Best regards,

Msquare Automation
Gold Partner of Make
@Msquare_Automation