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
Hi,
Default example from documentation work, but when set specific region (correct on both sides, firebase function, and flutter) not working, returns an internal error.
`✔ functions: Using node@20 from host.
Serving at port 8483
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Default example from documentation work, but when set specific region (correct on both sides, firebase function, and flutter) not working, returns an internal error.
`✔ functions: Using node@20 from host.
Serving at port 8483
✔ functions: Loaded functions definitions from source: updateUserInCollection, likePost, unlikePost, applyPost, unapplyPost, sendPushNotificationApproved, sendPushNotificationCancelled, likeNews, unlikeNews, clearUserData.`
exports.updateUserInCollection = functions .region(REGION) .https.onCall(async (data, context) => { .... })...
Future<Map<String, dynamic>> updateUserInCollection({ required Map<String, dynamic> data, }) async { final callable = FirebaseFunctions.instanceFor(region: Strings.ffRegion or europe-west3) .httpsCallable(Strings.ffUpdateUserInCollection (or updateUserInCollection)); final res = await callable.call<Map<String, dynamic>>(data); return res.data; }
Any idea? Why region broke everything?
Beta Was this translation helpful? Give feedback.
All reactions