Ask a Question

SwaggerHub import into ReadyAPI with base domain shared between APIs

LisaK2617
New Contributor

SwaggerHub import into ReadyAPI with base domain shared between APIs

We recently updated our SwaggerHub to have a base domain that is shared between our APIs, once we made this change and tried to update/refactor (even tried re-importing) we are unable to import our swagger specs. We have tried download them as well rather than using the URL and we get the same errors.

If we try to update/refactor we see this:
Failed to update the interface: [ groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object

The current character read is '<' with an int value of 60
Unable to determine the current character, it is not a string, number, array, or object
line number 1
index number 0
<!doctype html>
^ ]

If we try to import we see this very helpful error message:

LisaK2617_0-1670253402350.png

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: