SERVER_ERROR: [code] 1675030 [message]: Error performing query

We Are Going To Discuss About SERVER_ERROR: [code] 1675030 [message]: Error performing query. So lets Start this Java Article.

SERVER_ERROR: [code] 1675030 [message]: Error performing query

  1. SERVER_ERROR: [code] 1675030 [message]: Error performing query

    Documentation on facebook is not correct. I had to add all 3 default permissions to make it work.
    loginButton.setReadPermissions("email", "public_profile", "user_friends");

  2. SERVER_ERROR: [code] 1675030 [message]: Error performing query

    Documentation on facebook is not correct. I had to add all 3 default permissions to make it work.
    loginButton.setReadPermissions("email", "public_profile", "user_friends");

Solution 1

Documentation on facebook is not correct. I had to add all 3 default permissions to make it work.

loginButton.setReadPermissions("email", "public_profile", "user_friends");

Original Author aloha Of This Content

Solution 2

I find the solution, this happends when you don’t have evaluate users in your app .

Enter in your panel App
Select Rol

enter image description here

And add test users , when your try to login with test users , the application executes without fails

enter image description here

Original Author Ahmed Ashour Of This Content

Solution 3

for Flutter this was the fix

final LoginResult result = await FacebookAuth.instance.login(
      permissions: [
        'public_profile',
        'email',
        'pages_show_list',
        'pages_messaging',
        'pages_manage_metadata'
      ],
    );

Original Author Deepak Yadav Of This Content

Solution 4

Issue Log: SERVER_ERROR: [code] 1675030 [message]: Error performing query

And Accurate Solution for this Specific issue (Error performing query)

is answered by @aloha is by updating the query for access.

loginButton.setReadPermissions(“email”, “public_profile”, “user_friends”);

  1. Find where you facebook login button was called.
  2. Then set the ReadPermission for the button as “email”, “public_profile”, “user_friends”

image Reference

enter image description here

Issue Log: App Not Setup. This app is still in development mode. and you dont have access to it. register test user or ask an app admin for permission

  1. The app are not in Live Mode
  2. You are not listed as admin or a tester in
    https://developers.facebook.com/app/yourapp
  3. Your App Hashkey are not set. if Facebook app cant be on Live Mode you need a hashkey to test it. because the app are not yet Live. Facebook wont allow an access.

HOW TO CHANGE TO LIVE MODE
1. go to : https://developers.facebook.com
2. select your app on “My Apps” List
3. toggle the switch from OFF to ON

enter image description hereenter image description here

HOW TO ADD AS TEST OR ADMIN
1. go to : https://developers.facebook.com
2. select your app on “My Apps” List
3. go to : Roles > Roles > Press Add for example administratorenter image description here
4. Search your new admin/tester Facebook account.
enter image description here
5. admin must enter facebook password to confirm.then submit
enter image description here

the new admin must go to developer.facebook page and accept the request
6. go to : https://developers.facebook.com

7. Profile > Requests > Confirm
enter image description here
List item
8. Congratulation you have been assign as new Admin

HOW TO GET AND SET HASHKEY FOR DEVELOPMENT
as Refer to Facebook Login Documentation
https://developers.facebook.com/docs/android/getting-started/#create_hash

The most preferable solution by me is by code ( Troubleshooting Sample Apps )

it will print out the hash key. you can update it on

https://developers.facebook.com/apps/yourFacebookappID/settings/basic/
on Android > Key Hashes section

a step by step process on how to get the hashKey.

  1. Firstly Add the code to any oncreate method

    enter image description here

  2. Run The app and Search the KeyHash at Logcat

    enter image description here

step by step process on how Update on Facebook Developer.

  1. Open Facebook Developer Page. You need access as to update the Facebook Developer page: https://developers.facebook.com

  2. Follow the step as follow.

    enter image description here

Original Author Muhammad Asyraf Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment