epam / epam/Indigo

Server respond with 502 response status instead of 500 or other suitable for error case response.

Open
#290 1 comment 0 reactions 1 assignee Claimed by @mkviatkovskii View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to reproduce:**
1. Send POST request to https://lifescience.opensource.epam.com/v2/indigo/convert
with following payload
`{"struct":"\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n","output_format":"chemical/x-mdl-molfile","options":{"smart-layout":true,"ignore-stereochemistry-errors":true,"mass-skip-error-on-pseudoatoms":false,"gross-formula-add-rsites":true}}`

**Actual result:**
502 Bad Gateway Response status is returned

**Expected result:**
500 Server error if conversion failed during execution or 400 Bad Request or whatever suitable

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.