Every other region except us-central1 returns an internal function error and stops the program from finishing the process.
exports.updateUserInCollection = functions
.region(REGION)
.https.onCall(async (data, context) => {
....
Why, I am not sure, if putting region to us-central1 or removing from function params, works.
Same is for local emulator, or firebase directly.
But I need to have a region.
Do you have any idea?