Skip to main content

networkFailed 2005 The network request failed.

Future updateUserAttributes(String key, String value) async {

final builder = AdaptyProfileParametersBuilder()  ..setCustomStringAttribute(value, key);return await adapty.updateProfile(builder.build());

}

The error occurring at return await adapty.updateProfile(builder.build()); is being frequently recorded in Firebase Crashlytics as:

Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError (code: 2005, message: Request Error: Unable to resolve host "api.adapty.io": No address associated with hostname, detail: null)

5 comments

Comments5

  • Amina Magomedova changed status to Complete
    Team•

    Jan 27

  • Adapty Support changed status to Closed
    •

    Aug 26, 2025

  • Adapty Support changed status to In Progress
    •

    Aug 25, 2025

  • Adapty Support

    •

    Aug 25, 2025

    Hi! Thanks for reaching out.

    The error seems to be related to the absence of network connection, however to better check this case could you kindly email to support@adapty.io?

    • Sungwoo Kim

      •

      Aug 26, 2025

      Adapty Support

      Thank you. That’s fine, I agree with you on that.