You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Callable function don't work on emulator since 10.3.1 #4320
Call a callable function (using the regular API, not the Admin API) using firebase-tools 10.3.1 (it works on 10.3.0).
[REQUIRED] Steps to reproduce
Expose a callable function on the emulator, create a user and call the function after authenticating.
[REQUIRED] Expected behavior
The function should be called.
[REQUIRED] Actual behavior
The function doesn't get called, an unhandled execption.
⚠ functions: TypeError: Cannot read properties of undefined (reading 'data')
at processBackground (./node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:550:24)
at invokeTrigger (./node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:640:19)
at handleMessage (./node_modules/firebase-tools/lib/emulator/functionsEmulatorRuntime.js:742:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
⚠ Your function was killed because it raised an unhandled error.
Reacted by Matti Schmidt, Ijemma Onwuzulike and sceee
Activity
sceee commentedon Mar 17, 2022
This was actually already adressed (and probably fixed) in #4314 but not yet released.
gpfister commentedon Mar 17, 2022
@sceee, thanks, I this is also a duplicate of #4313.
taeold commentedon Mar 17, 2022
Fix is shipped in 10.4.0!