developer.sailpoint.com icon indicating copy to clipboard operation
developer.sailpoint.com copied to clipboard

[Bug] Multipart/form-data example code is incorrect

Open colin-mckibben-sp opened this issue 2 years ago • 1 comments

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):

  • OS: Mac OS

Browser (please complete the following information):

  • Browser: Chrome

Additional context

colin-mckibben-sp avatar Oct 11 '22 15:10 colin-mckibben-sp