Skip to main content
language; removed "any help appreciated" at the end
Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

I am attempting to use the /me API/me API to retrieve an authenticated user's details but I am recievingreceiving a 400 error.

I am able to complete the OAuth2 dance and have been able to capture the access token and expire value, but when I then go on to send my request to https://api.stackexchange.com/2.0/me?site=stackoverflow (including access token) it gives meame a 400 error.

Here is what I am logging if itsit's of any use:

GET request for "https://api.stackexchange.com/2.0/me?site=stackoverflow" resulted in 400 (Bad Request); invoking error handler
HttpClientErrorException while completing connection: 400 Bad Request
Response body: ?

Is there anything iI am missing? other than just sending the access token to the above URL is there anything else iI need to do?

Any help would be much appreciated.

I am attempting to use the /me API to retrieve an authenticated user's details but I am recieving a 400 error.

I am able to complete the OAuth2 dance and have been able to capture the access token and expire value, but when I then go on to send my request to https://api.stackexchange.com/2.0/me?site=stackoverflow (including access token) it gives mea 400 error.

Here is what I am logging if its of any use:

GET request for "https://api.stackexchange.com/2.0/me?site=stackoverflow" resulted in 400 (Bad Request); invoking error handler
HttpClientErrorException while completing connection: 400 Bad Request
Response body: ?

Is there anything i am missing? other than just sending the access token to the above URL is there anything else i need to do?

Any help would be much appreciated.

I am attempting to use the /me API to retrieve an authenticated user's details but I am receiving a 400 error.

I am able to complete the OAuth2 dance and have been able to capture the access token and expire value, but when I then go on to send my request to https://api.stackexchange.com/2.0/me?site=stackoverflow (including access token) it gives me a 400 error.

Here is what I am logging if it's of any use:

GET request for "https://api.stackexchange.com/2.0/me?site=stackoverflow" resulted in 400 (Bad Request); invoking error handler
HttpClientErrorException while completing connection: 400 Bad Request
Response body: ?

Is there anything I am missing? other than just sending the access token to the above URL is there anything else I need to do?

edited title
Link
systempuntoout
  • 8k
  • 4
  • 21
  • 27

400 Error when attempting to retrieve authenticaedauthenticated user data

Source Link
rhinds
  • 101
  • 1
Loading