Forum Discussion

ofrei's avatar
ofrei
New Contributor
7 years ago

404 when accessing API

Hello,   I built my first API with SwaggerHub and I was even able to access it on the server url - for a time. After a while (I don't know what I might have done wrong), the endpoint started to r...
  • HKosova's avatar
    7 years ago

    Hi ofrei,

     

    It looks like your API was renamed from "STO" to "1.0" at some point. Renaming an API does not automatically update the mock server.


    If you have the "API Auto Mocking" integration in your API, then simply remove the "servers" from the spec and save your API - this will replace the "servers" with a new mock server.


    If you do not use "API Auto Mocking", add it and then you will be able to use "try it out".