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

Multiple 500 Internal Server Error caused by muted input data #60

Open
victomteng1997 opened this issue Feb 26, 2021 · 0 comments
Open

Comments

@victomteng1997
Copy link

victomteng1997 commented Feb 26, 2021

  1. "quantity" parameter = 0 causing Internal Server Error.

Request:

"url": "http://localhost/v2/store/order",
"method": "post",
"data": { "id": 0, "petId": 444985,"quantity": 0, "shipDate": "JLRIECHB7EQ3DQCMR","status": "delivered", "complete": "false"},

Response:

"code":500,"type":"unknown","message":"something bad happened"

  1. Create/update user information /pet information causing 500 internal server error.

Example on user directory:

Request:

"url": "http://localhost:80/v2/user/doggie",
"method": "put" or "post",
"data": {"id": 977982,"username": "ZYP0726B3PHUB7WL5Y2KTBMVC25W8S2UQSHLKVCWC11P6CSCCZDH6BOYYTJGPOYSTC1J8HI3GX3383P9AU","firstName": "7NFL8R1UV45YPRTD7JHVF7Y1U93UY76GIXK3T70Z2W57FGP4KXYK9E4GSCDE3FMATFV6NT45RIU484AC8V14OMIBFLBV4ZMK", "lastName": "ZYP0726B3PHUB7WL5Y2KTBMVC25W8S2UQSHLKVCWC11P6CSCCZDH6BOYYTJGPOYSTC1J8HI3GX3383P9AU",
"email": "98O89VZGRDAVY6EERB6FRR5N", "password": "2021-02-26T15:08:16.049+0000", "phone": "MNA1YJ8F5APIV0VSZCOIN1P","userStatus": "delivered" },

Response:

"code":500,"type":"unknown","message":"something bad happened"

  1. large quantity causing internal server error, example:

"url": "http://localhost:80/v2/store/order",
"method": "post",
"data": {"id": 428388,"petId": 0,"quantity": 898379, "shipDate": "unknown", "status": "placed","complete": "true" },

Response:

"code":500,"type":"unknown","message":"something bad happened"

  1. createUsersWithArrayInput request with false date format causing internal server error. Example:

"url": "http://localhost:80/v2/user/createWithArray",
"method": "post",
"data": ["SDD7JG30RCE9ZNKODPQ94X0QTR0W2EQ52VCTQF3ENY2GLFUZ2HXH"],

Response:

"code":500,"type":"unknown","message":"something bad happened"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant