Unable to connect to the API now
-
I get an error message mentioning "Unexpected token <". My api calls were working in 1.17 but isn't working with version 1.20.
-
Double check that you are calling the precise API URL.
http://<hostname>/api/loginwill work, buthttp://<hostname>//api/loginwill not. Though some user agents ignore the double//, FusionAuth treats them as two different URLs, and returns HTML which the API client doesn't know how to parse (hence the error message).