cancel
Showing results for 
Search instead for 
Did you mean: 

petstore.swagger.io API failed for some operations

SOLVED
Occasional Contributor

petstore.swagger.io API failed for some operations

We encounter the following error when access swagger API. It mainly for operations under 'Pet" tag, for example POST /pet

After request, we got 500 error with following response.

 

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

 

This happens to some other operations under 'Pet' tag. Can you please help to solve the issue?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Moderator

Re: petstore.swagger.io API failed for some operations

The petstore got very sad recently and has been replaced.  Please retry when you can, it is behaving as expected now.

-----
Tony Tam
SmartBear VP of Swagger Products

View solution in original post

Moderator

Re: petstore.swagger.io API failed for some operations

The pet store is intended as a demo and isn't very stable as such (we'll improve it in the future). If you ever get a 500 in response, it should be fixed automatically within a few hours as the demo resets.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓

View solution in original post

18 REPLIES 18
Highlighted
Moderator

Re: petstore.swagger.io API failed for some operations

The petstore got very sad recently and has been replaced.  Please retry when you can, it is behaving as expected now.

-----
Tony Tam
SmartBear VP of Swagger Products

View solution in original post

Occasional Contributor

Re: petstore.swagger.io API failed for some operations

Thanks.

 

But now same issue comes again. Will this petstore APIs be replaced by others? And will this issue happen in the future?

Moderator

Re: petstore.swagger.io API failed for some operations

Fixed again now. Since this is a public app that any user can play with, things may end up breaking and we cannot guarantee it won't happen again in the future.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Occasional Contributor

Re: petstore.swagger.io API failed for some operations

Thanks. Now it works.

Occasional Contributor

Re: petstore.swagger.io API failed for some operations

Sorry, the issue occur again for operations under Pet tag.

 

it returns following error when request send.

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

  Can you please help to solve it again?

Many appreciations.

Moderator

Re: petstore.swagger.io API failed for some operations

Hi, which operation are you calling, and with what data?

-----
Tony Tam
SmartBear VP of Swagger Products
Occasional Contributor

Re: petstore.swagger.io API failed for some operations

Thanks for reply. The following operations

POST, PUT /pet operations ,and GET /pet/findByStatus, DELETE /pet/{petId}, POST /pet/{petId}

Occasional Contributor

Re: petstore.swagger.io API failed for some operations

Hi 

The petstore operations under Pet and User tags are all return 500. 

Could you please help to fix the issues?

 

Thank you so much.

Moderator

Re: petstore.swagger.io API failed for some operations

Should be fixed now.


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video: