-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
httpsCallable throws invalid-argument
error when the response status is not 200
#8841
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @NayamAmarshe, I think the issue might be in format of the error response. The object should include an response.status(400).send({
error: {
status: 'THIS_IS_NOT_VALID',
message: 'this should be ignored'
}
}); I just tested this format on one of our test functions and it worked as intended. I hope this helps! |
Hey @NayamAmarshe. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @NayamAmarshe if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Operating System
macOS
Environment (if applicable)
Node.js 22, Firebase Functions 2, Next.js 14
Firebase SDK Version
11.4.0
Firebase SDK Product(s)
Functions
Project Tooling
I'm using Next.js 14 along with Firebase Functions emulator.
Detailed Problem Description
invalid-argument
error.Steps and code to reproduce issue
function:
client:
The text was updated successfully, but these errors were encountered: