Page MenuHomePhabricator

api review action fails with syncerror
Closed, ResolvedPublic

Description

Using the api to sight a page (action=review) fails with a 'syncerror'. This happens if you try to set the flag_accuracy to 1. (setting an already flagged revision to 0 works fine). The expected result is for the action to succede.

Response i recieved:
<?xml version="1.0"?><api><error code="syncfailure" info="A sync failure has occured while reviewing. Please try again." /></api>

Request i sent to http://en.wikinews.org/w/api.php was (using POST method. this is taken from the firbug debug. IT was properly formatted when sent to server.):

action review
comment ''Flagged page using [[user:Bawolff/mwapilib.js]]''
flag_accuracy 1
format xml
revid 881430
token blanking out. I don't know if that something i'm supposed to publish or not

Editing and other actions with the api seem to work fine. it was working until the software update.


Version: unspecified
Severity: major

Details

Reference
bz20705

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:54 PM
bzimport set Reference to bz20705.

Note last time we succesfully sighted something with API was 22:54, 16 September 2009