Problem with two factor authentication (via Custom SMS Class)

The error means JSON is expected but you have server side error (in HTML format starting with ‘<’). You may Check HTTP Response.