-
Notifications
You must be signed in to change notification settings - Fork 448
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
[v2] Cannot return 400 BadRequest as response to function runtime #2475
Comments
Closing as I believe this is fixed. If you have an up to date repro on the latest bits let us know and I'll reopen! |
I encountered this issue today, I have all the recent libraries and VS up to date. Any suggestion? |
I'd start by double checking that you are indeed running on the latest bits. When you run locally, this line specifies the exact host version that is running:
You should be on |
This is a dupe of Azure/azure-webjobs-sdk#1492 Issue has been resolved there. Will pull packages into the host and add validation tests |
This should be resolved. Moving this to the next sprint for validation. |
Closing as resolved. |
Function App v2.0 (beta)
nupkg v1.0.6+ (have tried .6, .7, and .8)
The following code:
will result in an error from the function runtime that looks like:
I've tried returning an
Exception
object (as the overload allows), and also a properly formatted JSON string (eg:{ "errors" : "My error message" }
) but with no success.In Functions v1(.0.9 CLI) w/ nupkg v1.0.8, this same code runs successfully and gives back:
as we'd expect.
The text was updated successfully, but these errors were encountered: