Page MenuHomePhabricator

Wikibase\\SnakObject::newFromType got an array with too few constructor arguments
Closed, ResolvedPublic

Description

Exception Caught: Wikibase\\SnakObject::newFromType got an array with too few constructor arguments.

When a user tried to do

api.php?action=wbsetclaimvalue&format=json&claim=q703%24579D056C-280F-4BDF-958B-CD5E7E5EBF7B&value=O&snaktype=value&token=b4f0aa5839a7f79799f700494f080bbf%2B%5C&baserevid=42903666

Report can be seen @ http://www.wikidata.org/w/index.php?title=Wikidata:Contact_the_development_team&diff=53446631&oldid=53437599


Version: unspecified
Severity: normal

Details

Reference
bz50654

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:07 AM
bzimport set Reference to bz50654.
bzimport added a subscriber: Unknown Object (MLST).

This exact request now says

{

"error": {
    "code": "invalid-snak",
    "info": "Could not decode snak value"
}

}