I am having issues with an API IVR path not understanding account numbers with leading zeros. All other account numbers are returning data correctly but every time I use an account number that contains leading zeros, the API path is not acknowledging and it fails.
API to run token using account #: 12345678 = OKAY
API to run token using account #: 00045678 = FAIL
Is there a formula or way to configure the path so that it corrects this problem? I'm hoping this is something simple. Thanks for the support.
I don't know what tools you're using or where this is happening, but generically, it sounds like you're using a number data type somewhere you should be using a string. The value 00045678 as a number is 45678 because numbers do not have leading zeros.
Hi @Tim, I am in architect using the expression Flow.vAccountNumber when I enter the account number in the IVR path. I then use that ToString(Flow.vAccountNumber) to run my token but it's not recognizing the account number.
Can you confirm how the value is being malformed? What value is your service receiving? What value does Flow.vAccountNumber have after the data entry but before the input step where tostring is called on it?
@Tim, the update worked! Thanks for the support. If you can, can you take a look at my other post about grabbing data in the body on an email. I never got a response there.