Forum Discussion

LisaK2617's avatar
LisaK2617
New Contributor
2 years ago

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:

No RepliesBe the first to reply