php sdk 1.6 Veriplace_UnknownTokenException

1 view
Skip to first unread message

maplap

unread,
Sep 22, 2010, 11:40:18 PM9/22/10
to Location Labs Developer Community
hi folks,
getting 401s from the webservice ... i've tried creating tokens twice
and have used both simulated users and opted-in developer mode handset

here's debug log using a simulated subscriber


Wed Sep 22 20:36:22 -0700 2010 | Veriplace_Client | DEBUG |
getProtectedResource(https://veriplace.com/api/1.2/invitations/)
Wed Sep 22 20:36:22 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
>> POST https://veriplace.com/api/1.2/invitations/
Wed Sep 22 20:36:22 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
>> Accept: text/xml
Wed Sep 22 20:36:22 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
>>
oauth_version=1.0&oauth_nonce=a65983bd73503bd8e8d22379bf734b78&oauth_timestamp=1285212982&oauth_consumer_key=q5kK8O5s0eUm7ZbMqjBX&mobile=0026529891&sendUserConfirmation=false&callback=http
%3A%2F%2Fmydomain.com%2Fveriplace%2Fsdk%2Fexamples
%2Finvitation.php&oauth_token=ld60OMJ3nwLj91mKWWqt&oauth_signature_method=HMAC-
SHA1&oauth_signature=DmZww%2BXrkVVq06LjE99IaBnU0wk%3D
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
<< 401
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
<response>
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
<oauth_parameter name="oauth_error_code">401</oauth_parameter>
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
<oauth_parameter name="oauth_error_text">Invalid/expired token</
oauth_parameter>
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
</response>

Jesse Myers

unread,
Sep 23, 2010, 12:58:32 AM9/23/10
to veriplace-deve...@googlegroups.com
Hi -

It looks like you are trying to use the Invitation API. Currently,
this requires approval to use, so it's not surprising that you are
getting an error. See:

http://developer.veriplace.com/devportal/developerguide/invitation-api.html

Jesse

Jason F.

unread,
Sep 23, 2010, 1:16:20 AM9/23/10
to Location Labs Developer Community
Hi Lappin,

Assuming you want to use the Invitation API, please just send a formal
request via email to jasonf [at] location-labs [dot] com. We'll need
to understand a little more about your company and use case, so if you
could include some detail about that, it would be very helpful.

Best,
Jason

On Sep 22, 9:58 pm, Jesse Myers <jesse.my...@gmail.com> wrote:
> Hi -
>
> It looks like you are trying to use the Invitation API. Currently,
> this requires approval to use, so it's not surprising that you are
> getting an error. See:
>
> http://developer.veriplace.com/devportal/developerguide/invitation-ap...
>
> Jesse
>
> On Wed, Sep 22, 2010 at 8:40 PM, maplap <lappin.hamm...@gmail.com> wrote:
> > hi folks,
> > getting 401s from the webservice ... i've tried creating tokens twice
> > and have used both simulated users and opted-in developer mode handset
>
> > here's debug log using a simulated subscriber
>
> > Wed Sep 22 20:36:22 -0700 2010 | Veriplace_Client | DEBUG |
> > getProtectedResource(https://veriplace.com/api/1.2/invitations/)
> > Wed Sep 22 20:36:22 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
> >>> POSThttps://veriplace.com/api/1.2/invitations/
Reply all
Reply to author
Forward
0 new messages