Skip to content

[cloud_functions] - Internal Exception invisible to the user #28578

@rishabnayak

Description

@rishabnayak

Error Details

The _region variable is returned as null and causes an internal exception invisible to the user,

PlatformException(-1, The operation couldn’t be completed. (com.google.GTMSessionFetcher error -1.), null).

How to Reproduce

  1. Setup an application and a callable cloud function
  2. Try calling the function. It fails with an internal error. On further inspection, shows that the region isn't set.

Logs

Logs don't show anything, the only errors that pop up are

Beginning a fetch requires a request with a URL
[  +16 ms] flutter: throwing generic exception
[   +9 ms] [VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: Exception: Unable to call function detectIntent
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consolepackageflutter/packages repository. See also p: labels.waiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions