Skip to content

Error 101 Facebook auth is invalid for this user. #4288

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

Closed
rankinit opened this issue Oct 23, 2017 · 1 comment
Closed

Error 101 Facebook auth is invalid for this user. #4288

rankinit opened this issue Oct 23, 2017 · 1 comment

Comments

@rankinit
Copy link

rankinit commented Oct 23, 2017

Issue Description

Can not login with Facebook. Keep getting error 101: Error 101 Facebook auth is invalid for this user.
Looked through this thread here but did not help:
#475

Upgrading the Parse server to the latest version did not help either.

Steps to reproduce

  1. Login with Facebook using FBSDK, Parse-IOS, ParseServer
  2. Delete App
  3. Re login with Facebook User on App

Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

Expected Results

Should login with same Facebook credentials.

Actual Outcome

Error on signing in:

Error Domain Parse Code 101
Facebook Auth: Error 101 "Facebook auth is invalid for this user"

Environment Setup

  • Server

    • parse-server version: 2.6.3
    • Operating System: Ubuntu 16
    • Hardware: Linux
    • Localhost or remote server? Linode
  • Database

    • MongoDB version: 2.6.11
    • Storage engine:
    • Hardware: same as above
    • Localhost or remote server? Linode

Logs/Trace

INFO LOG with Verbose = 1:

{"method":"PUT","url":"/parse/classes/_User/Z2k7MMdZR7","headers":{"x-real-ip":"13.1.1.13","x-forwarded-for":"13.1.1.13","x-nginx-proxy":"true","host":"myapp.com","connection":"close","content-length":"373","x-parse-client-version":"i1.15.3","accept":"/","x-parse-session-token":"r:b27030921458ff22deb4bbca8964bba5","x-parse-application-id":"myapp","x-parse-client-key":"myClientKey","x-parse-installation-id":"04f40e2a-fb9a-4393-a6c8-2f6aa4b48967","x-parse-os-version":"11.0.1 (16G29)","accept-language":"en-us","accept-encoding":"br, gzip, deflate","content-type":"application/json; charset=utf-8","user-agent":"myapp/4 CFNetwork/887 Darwin/16.7.0","x-parse-app-build-version":"4","x-parse-app-display-version":"1.1"},"body":{"authData":{"facebook":{"id":"100000000000000","access_token":"EAABkujZAf3DwBAAeEZCMjFZBdxtryCF12KIK3a45QjkZA6ns7CoZARATCpMvPCDROKIkH7Q0j62UIxJQb14glAtebNJ7CUy7dQp2uR7zmDrYa0hMzyHYTuGpvM1NG8loCHfGScnt2yVW9YYLmr3gckQCWsZCKo9z9QZCPx8deER2QRw65BIaRbFiLLXCu1G1ZCIJP65QdO6z2biPnPMQLGcuByoGoxg0BnnoOhdhO2NztgZDZD","expiration_date":"2017-12-22T16:19:25.752Z"},"anonymous":null}},"level":"verbose","message":"REQUEST for [PUT] /parse/classes/_User/Z2k7MMdZR7: {\n "authData": {\n "facebook": {\n "id": "100000000000000",\n "access_token": "EAABkujZAf3DwBAAeEZCMjFZBdxtryCF12KIK3a45QjkZA6ns7CoZARATCpMvPCDROKIkH7Q0j62UIxJQb14glAtebNJ7CUy7dQp2uR7zmDrYa0hMzyHYTuGpvM1NG8loCHfGScnt2yVW9YYLmr3gckQCWsZCKo9z9QZCPx8deER2QRw65BIaRbFiLLXCu1G1ZCIJP65QdO6z2biPnPMQLGcuByoGoxg0BnnoOhdhO2NztgZDZD",\n "expiration_date": "2017-12-22T16:19:25.752Z"\n },\n "anonymous": null\n }\n}","timestamp":"2017-10-23T17:58:49.944Z"}
{"error":{"code":101,"message":"Facebook auth is invalid for this user."},"level":"error","message":"Error generating response. ParseError {\n code: 101,\n message: 'Facebook auth is invalid for this user.' }","timestamp":"2017-10-23T17:58:50.076Z"}
{"code":101,"message":"Facebook auth is invalid for this user.","level":"error","timestamp":"2017-10-23T17:58:50.079Z"}

ERROR LOG:

{"error":{"code":101,"message":"Facebook auth is invalid for this user."},"level":"error","message":"Error generating response. ParseError {\n code: 101,\n message: 'Facebook auth is invalid for this user.' }","timestamp":"2017-10-23T17:58:50.077Z"}
{"code":101,"message":"Facebook auth is invalid for this user.","level":"error","timestamp":"2017-10-23T17:58:50.079Z"}

@rankinit
Copy link
Author

Misconfiguration on my part. Wrong fb id. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant