1 | initial version |
There could be several reasons for the unknown error that you are getting from the Firebase httpsCallable Cloud Function. Some possible reasons are:
Authorization issue: You might not have the required permissions to access the cloud function. Make sure you are authenticated and authorized to access the cloud function.
Incorrect Function name: Make sure you are calling the correct function name that is declared in the Firebase cloud function.
Network issues: Check your internet connection and try again. If the issue persists, try restarting your browser or device.
Incorrect data format: Make sure you are passing the correct data format as specified in the cloud function.
Runtime errors: There might be runtime errors in your cloud function that are causing the unknown error. Check the logs in the Firebase console to see if there are any errors.