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");

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