Page MenuHomePhabricator

ApiErrorException: API returned the following error: 'The login module requires a POST request' (when trying to use AWB on custom wiki)
Closed, ResolvedPublicBUG REPORT

Description

Instead, I have a weird message with this text to copy inside.
description:

workaround:

Exception:ApiErrorException
Message:API returned the following error: 'The login module requires a POST request'
Call stack:<pre> à WikiFunctions.API.ApiEdit.CheckForErrors(String xml, String action)
à WikiFunctions.API.ApiEdit.Login(String username, String password, String domain)
à WikiFunctions.Profiles.AWBProfilesForm.PerformLogin(String username, String password)</pre>

OS: Microsoft Windows NT 6.2.9200.0
version: AutoWikiBrowser (6.1.0.1), WikiFunctions (6.1.0.1), revision 12353 (2019-09-17 21:16:42)
net: 4.0.30319.42000
duplicate:
site: http://subnautica.fandom.com

Event Timeline

Kizule renamed this task from I can't login to my bot with AutoWikiBrowser to API error when trying to use AWB on a custom wiki.Jan 26 2020, 1:22 PM
Kizule moved this task from Backlog to Exceptions (unsorted) on the AutoWikiBrowser board.
Kizule added subscribers: CoolGamer23, Zppix, Rikki21, Charel.lu.
Aklapper renamed this task from API error when trying to use AWB on a custom wiki to ApiErrorException: API returned the following error: 'The login module requires a POST request' (when trying to use AWB on custom wiki).Nov 22 2022, 5:20 PM
Aklapper changed the subtype of this task from "Task" to "Bug Report".Dec 14 2022, 1:14 PM

From some testing...

It seems if you try and use HTTP to a site that is HTTPS only, this can occur

Reedy claimed this task.