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="45bdfc6b5e307178d8a5b5af1a08549c56bee3b8+\" cookieprefix="enwiki" sessionid="h953ahbsl9hfo0j7dtrdu84h532g73ai" /></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.7601 Service Pack 1
version: AutoWikiBrowser (5.8.0.0), WikiFunctions (5.8.0.0), revision 11694 (2015-10-01 06:30:11)
net: 2.0.50727.5485
duplicate:
site: https://en.wikipedia.org

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="45bdfc6b5e307178d8a5b5af1a08549c56bee3b8+\" cookieprefix="enwiki" sessionid="h953ahbsl9hfo0j7dtrdu84h532g73ai" /></api>'

Event Timeline

Checkingfax raised the priority of this task from to Needs Triage.
Checkingfax updated the task description. (Show Details)
Checkingfax added a project: AutoWikiBrowser.
Checkingfax added a subscriber: Checkingfax.
Restricted Application added subscribers: StudiesWorld, Josve05a, Aklapper. · View Herald TranscriptFeb 13 2016, 8:10 AM