That's not quite it. An unpublished app can send an SMS invitation to a
number if *either* of the following is true:
(a) An account exists for that phone, and the account has the "developer
mode" setting turned on.
(b) There is no account for that phone, but that number is listed on the
developer's "test phones" whitelist.
In the case of (b), if you send an invitation and the user replies Y,
the system will then send another SMS asking whether the user is OK with
being located by unpublished apps; if so, this turns on "developer mode"
for the new account. That question would not appear for a published
app.
I hope that clears things up...
best,
Eli
--
Eli Bishop
Wavemarket, Inc. / Location Labs
e...@location-labs.com
I have limited ability to troubleshoot this further without knowing
either the name of your application or the full mobile number; please
email one of these directly to me at e...@location-labs.com.
In general, there are two reasons you could get this error:
1. application is unpublished and number is not available to unpublished
apps (i.e. doesn't have an account and is not whitelisted, or does have
an account but has disabled "developer mode")
2. user has specifically disabled SMS invitations by texting STOP (or
disabling SMS on their Veriplace user account settings)
best,
Eli
On Mon, 2010-12-13 at 18:57 -0800, Brad wrote:
> Hi Eli,
>
> Thanks for clearing that up. However, even with the user's phone on
> the whitelist, we get the same exception:
>
> [12-13 16:30:52] [INFO] sending an invite to the user
> [12-13 16:30:53] [INFO] trying to invite phone=951[redacted]
> [12-13 16:30:54] [ERROR] can't invite user:
> com.veriplace.client.InvitationNotPermittedException
> at
> com.veriplace.client.InvitationAPI.doInviteOperation(InvitationAPI.java:
> 225)
> at
> com.veriplace.client.InvitationAPI.inviteGetLocation(InvitationAPI.java:
> 130)
> at
> com.knowtate.servlets.VeriplaceInviteMobileUser.inviteBySMS(VeriplaceInviteMobileUser.java:
> 21)
>
>
> The user is on a Sprint smartphone and is on our Test Phone whitelist
> (without an account). How can we further debug why this exception is
> being thrown?
>
> Thanks,
> Brad
--