MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use. Specify the <var>format</var> parameter to change the output format. To see the non-HTML representation of the JSON format, set [https://wiki.kucharczyk.xyz/api.php?action=query&amirequestsfor=login&meta=authmanagerinfo&format=json <kbd>format=json</kbd>]. See the [[mw:API|complete documentation]], or the [[Special:ApiHelp/main|API help]] for more information.
{
    "batchcomplete": "",
    "query": {
        "authmanagerinfo": {
            "canauthenticatenow": "",
            "cancreateaccounts": "",
            "preservedusername": "",
            "requests": [
                {
                    "id": "MediaWiki\\Auth\\PasswordAuthenticationRequest",
                    "metadata": {},
                    "required": "primary-required",
                    "provider": "Password-based authentication",
                    "account": "",
                    "fields": {
                        "username": {
                            "type": "string",
                            "label": "Username",
                            "help": "Username for authentication."
                        },
                        "password": {
                            "type": "password",
                            "label": "Password",
                            "help": "Password for authentication.",
                            "sensitive": ""
                        }
                    }
                },
                {
                    "id": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
                    "metadata": {},
                    "required": "optional",
                    "provider": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
                    "account": "MediaWiki\\Auth\\RememberMeAuthenticationRequest",
                    "fields": {
                        "rememberMe": {
                            "type": "checkbox",
                            "label": "Keep me logged in",
                            "help": "Whether the password should be remembered for longer than the length of the session.",
                            "optional": ""
                        }
                    }
                }
            ]
        }
    }
}{
    "error": {
        "code": "internal_api_error_Error",
        "info": "[0826516ed23474e0a2c38c9a] Caught exception of type Error",
        "errorclass": "Error"
    }
}
Retrieved from "$'"1"