Re: Getting error when trying to do request with 'me'

11 views
Skip to first unread message

Chuck Garofalo

unread,
Mar 4, 2013, 10:06:09 AM3/4/13
to spring...@googlegroups.com
Hi Thomas,

This rather cryptic message essentially means that we are not recognizing your request as an oauth request.  Make sure that your request either has "oauth_version" on the query string or in the "Authorization" header.  

I hope this helps.

Regards,
Chuck

On Saturday, March 2, 2013 8:13:51 AM UTC-5, Thomas Greiner wrote:
Hi,

I've just recently started to use the API and am currently stuck trying to get the authenticated user's username.

When trying to get the user info with https://springpad.com/api/users/GigAtom it works just fine but when I am authenticated as GigAtom (using OAuth) and try to get the user info with https://springpad.com/api/users/me it fails and returns this error:
SessionbasedlogincanonlybeusedwiththecorrectusernameandsecurityTokenparameter

I'm not sure if /users/{username} even supports 'me' as a username (because it's not mentioned in the docs). That's why I tried it with https://springpad.com/api/users/me/blocks as well but still the same results.

Thanks in advance.

- Thomas
Reply all
Reply to author
Forward
0 new messages