Page MenuHomePhabricator

OperationFailedException in ApiEdit.CheckForErrors
Closed, DuplicatePublic

Description

description:

workaround:

Exception:OperationFailedException
Message:`Operation 'login' ended with result 'NeedToken'.
Xml: '<?xml version="1.0"?><api><warnings><login xml:space="preserve">Fetching a token via action=login is deprecated. Use action=query&amp;meta=tokens&amp;type=login instead.</login></warnings><login result="NeedToken" token="f66ce9dd44f8e295489eb912b151699856c96b32+\" cookieprefix="kkwiki" sessionid="7nke66fusne6khtnt3fisfamed5m4cqh" /></api>'`
Call stack:<pre> at WikiFunctions.API.ApiEdit.CheckForErrors(String xml, String action)
at WikiFunctions.API.ApiEdit.Login(String username, String password, String domain)
at WikiFunctions.Profiles.AWBProfilesForm.PerformLogin(String username, String password)</pre>

OS: Microsoft Windows NT 6.1.7100.0
version: AutoWikiBrowser (5.8.0.0), WikiFunctions (5.8.0.0), revision 11694 (2015-10-01 06:30:11)
net: 2.0.50727.4918
duplicate:
site: https://kk.wikipedia.org