Skip to content
Back

Error 400 general_bad_request

  • 0
  • Self Hosted
  • Auth
  • Flutter
Shiba
4 Mar, 2025, 09:29

There was an error processing your request. Please check the inputs and try again.

TypeScript

  Future<ThinklyUser?> loginWithGoogle() async {
    try {
      await logout();
      await account.createOAuth2Session(
        provider: OAuthProvider.google,
        success: kIsWeb ? oAuthRedirect : null,
      );
      await Future.delayed(const Duration(milliseconds: 20));
      return await getUser();
    } on PlatformException catch (e) {
      Utils.debLog(e.message);
      //   Utils.toast(e.message ?? "");
      return null;
    }
  }

web aslo same error restarted server , ran the migration script the same with the apple provider also

Appwrite server 1.6.1 appwrite: 14.0.0

TL;DR
Error 400 general_bad_request when trying to login with Google and Apple providers. Issue persists on web. Server and migration script were restarted. Appwrite server version 1.6.1 and appwrite version 14.0.0. Solution: Update Appwrite to a newer version, as this may resolve the error.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more