[Bug] Multipart/form-data example code is incorrect #80
Labels
API Specifications
Items with this label involve API Specifications.
Bug 🐛
Something isn't working.
Docusaurus: Plugins
Items with this label involve Docusaurus plugins.
Priority: Medium
Items with this label are medium priority.
Describe the bug
When attempting to use the example Python code provided in the spec for requests that use multipart/form-data, the request returns a 500 error. It appears that the generated code is not accurate for a multipart/form-data request. I was able to generate code from Postman that worked.
To Reproduce Steps to reproduce the behavior:
Please see this forum post: https://developer.sailpoint.com/discuss/t/500-internal-error-when-importing-sp-config/6183
Expected behavior
happen.
I expected the example code for Python provided in this request to work as-is.
Actual behavior
The example code generated a 500 error because it is not a properly formed multipart/form-data request.
Screenshots
Please see the forum post for more info.
Operating System (please complete the following information):
Browser (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: