-
Notifications
You must be signed in to change notification settings - Fork 3k
A 404 from raise event is inaccurately described as instance not found #30161
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
A 404 from raise event is inaccurately described as instance not found #30161
Comments
After thinking it over a little, I guess there are two seperate issues:
|
Thank you for your feedback. This has been routed to the support team for assistance. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @ahmedelnably @fabiocav. |
@waltervos Thanks for the feedback! I see that you are already working with the team concerned here. So, routing as such. |
cc @vrdmr |
Thanks, @lmazuel. This looks like a azure-functions-durable-python specific issue. @davidmrdavid - could you please take a look? This is being discussed at Azure/azure-functions-durable-python#435. |
The python implementation has a hardcoded error message for a 404 on context.raise_event(...) that says that the instance ID could not be found. Today I noticed however that I'm getting the same error message when using an event name that contains (presumably) illegal characters. My guess is that the python implementation constructs an invalid URL when the event name contains characters such as slashes and/or asterixes and therefore the API returns a 404. The resulting error message is very confusing though.
From looking through the DurableOrchestrationClient code, no sanitizing of input is being performed. That looks to me like a good place to fix this issue, because why wouldn't an event name with special characters be permitted? The HTTP API docs say nothing about what is and isn't a valid event name.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: