This error is most likely caused by the use of a user account to check Facebook to enter the direct application (not the sandbox) of Facebook, Facebook tester users are application-oriented. Log out of Facebook and return using the test user from the correct application.
There are other options, such as no namespace, secretId, etc., but if the first answer is not a problem, then I assume that this is possible with the application settings in FB.
source share