-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error returned from GetMembershipsFromCurrentUser endpoint #58
Comments
Do other authenticated API endpoints work for you, or are they all broken in this same manner?
… On Sep 6, 2017, at 11:15, Rob ***@***.***> wrote:
When attempting to hit the GetMembershipsFromCurrentUser endpoint, I'm getting the following response.
{
"ErrorCode": 99,
"ThrottleSeconds": 0,
"ErrorStatus": "WebAuthRequired",
"Message": "Please sign-in to continue.",
"MessageData": {}
}
I am passing the a valid X-API-Key header as well as a newly requested access_token in the Authorization header. I seem to get the same response if the Authorization header is left off completely.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
ya so if i make a call to the GetMembershipsById endpoint and provide a membership type and the membership ID returned from the tokens endpoint, that request succeeds and i can load membership data. The problem is my server isn't storing tokens directly (and i'd like to keep it that way) they are handed to me when a request comes in, so that means i'm also not storing the membership ID from the tokens response. I would like a way to get profile data from only the access token. |
Hi guys, |
problem solved. I needed to change |
Ahhh, sneaky. Hmm... well I'm glad it's working now! That's definitely an FAQ-worthy addition - thank you for reporting back about it! |
@vthornheart-bng As this may catch some other people out. |
Good call for sure! |
When attempting to hit the GetMembershipsFromCurrentUser endpoint, I'm getting the following response.
I am passing the a valid
X-API-Key
header as well as a newly requested access_token in theAuthorization
header. I seem to get the same response if the Authorization header is left off completely.The text was updated successfully, but these errors were encountered: