---
** [tickets:#7887] Better messaging for phone validation**
**Status:** open
**Milestone:** unreleased
**Labels:** phone sf-current
**Created:** Wed Jun 03, 2015 07:28 PM UTC by Dave Brondsema
**Last Updated:** Wed Jun 03, 2015 07:28 PM UTC
**Owner:** nobody
Some error messages from Nexmo are not good to show to the end-user. Example:
"The Nexmo platform was unable to process this message for the following
reason: Request 'a98f5e449f40462bb8d3bd48f41d867e' was not found or it has been
verified already." Some are ok like "The code provided does not match the
expected value" and "A wrong code was provided too many times. Workflow
terminated" https://docs.nexmo.com/index.php/verify/search#verify_return_code
has a list of possible return statuses. I think we should pass through to the
user only numbers 3 10 15 16 17. The rest should show a generic error message
to the user.
We should show a couple example phone numbers like 1-311-555-2368 and +61 8
5550 1757 (both fake numbers that Nexmo won't accept) so that people know what
kind of format they should put in.
Show a better indication of status after submitting phone number. Instead of
changing to just "Enter PIN", show "A PIN is being sent to your phone. If you
are unable to receive SMS, you will get a voice call with the number<br>Enter
your PIN:"
It should be possible to have site-specific text added to the main paragraph
either through template override or a bit of html as a config option. E.g.
`Problems with verification? <a href="/support">Get Support</a>`
---
Sent from forge-allura.apache.org because [email protected] is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.