Skip to content
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

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

Open
colin-mckibben-sp opened this issue Oct 11, 2022 · 1 comment
Open

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

colin-mckibben-sp opened this issue Oct 11, 2022 · 1 comment
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.

Comments

@colin-mckibben-sp
Copy link
Contributor

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 colin-mckibben-sp added the Bug 🐛 Something isn't working. label Oct 11, 2022
@jordan-violet-sp jordan-violet-sp added API Specifications Items with this label involve API Specifications. Docusaurus: Plugins Items with this label involve Docusaurus plugins. Priority: Medium Items with this label are medium priority. labels Nov 17, 2022
@jordan-violet-sp
Copy link
Member

Needs reported up to OpenAPI Docusaurus plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Development

No branches or pull requests

2 participants