throw new functions.https.HttpsError('invalid-argument', 'The function must be called with one argumentsreturn Promise.reject(new functions.https.HttpsError('invalid-argument', 'The function must be called
[cloud_firestore/invalid-argument] Client specified an invalid argument.Note that this differs from failed-precondition. invalid-argument indicates arguments that are problematic
flutter (22073): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: [cloud_firestore/invalid-argumentNote that this differs from failed-precondition. invalid-argument indicates arguments that are problematicflutter (22073): [ERROR:flutter/lib