Closed afonsofaisca closed 11 months ago
Hello @afonsofaisca , thanks for reaching out and for the details description! The issue you described was fixed, however it was not released in all the stages yet. Please give it a few more days to be deployed everywhere. Apologies for the inconveniences.
Every bug report should have precise description and reproduction steps; console traces or source code references are appreciated.
For assistance requests, contact Azure support or submit a post on Stack Overflow. We don't provide support through GitHub Issues. Feature requests can be raised on the Azure Feedback Forum.
Bug description
When hosting a POST endpoint where there is an example body pre-populated from the Azure portal, already pasted as example, on the "try-me" section, then when hit "Send", the window returns "Unable to complete the request" with a 500 internal server error. This is most likely a UI bug since on the test platform in Azure for that same API, the response with the example is returned with a success 200.
Reproduction steps
NOTE: Pasted body is a geoJson:
Expected behavior
The expected behavior was a success response as per test in the management portal shows:
Is your portal managed or self-hosted?
Managed
Additional context
Stangely enough, when I delete the body completely, the response returns something different, which is an actual error message expected from the API when the body is not existent: