postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.83k stars 838 forks source link

not getting API validation message from docker on postman #7295

Closed ghost closed 5 years ago

ghost commented 5 years ago

i have created API using plumber.R and i have added json schema to validate the input request,incase validation fails ,in plumber.R file function json:validator throw the error and error message (eg: 'data.ModelInputData.0.AP_STUS_CD must be an enum value') .

Same i tested locally using RStudio and postman and it worked,but when same code i deployed in docker using dockerfile and when i pushed the message from postman i am getting 500 error but it is not throwing validation message or error message(why validation failed).attaching the dockerfile and plumber.R files. files.zip

local_test_Rstudio tested_from_docker
codenirvana commented 5 years ago

@shrads14 Thanks for reporting this but looks like the issue is not related to Postman. We recommend reaching out to the wider Postman Community (https://community.getpostman.com/) for help with issues like these.