Last modified: 2013-11-05 10:46:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57890, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55890 - API: "code":"internal_api_error_InvalidArgumentException","info":"Exception Caught: $claimGuid needs to be a string"
API: "code":"internal_api_error_InvalidArgumentException","info":"Exception C...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-18 18:21 UTC by Liangent
Modified: 2013-11-05 10:46 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2013-10-18 18:21:10 UTC
WMF server request: http://www.wikidata.org/w/api.php?format=json; POSTDATA: action=wbeditentity&id=Q15078866&baserevid=79260493&data=%7B%22labels%22%3A%7B%22zh-cn%22%3A%7B%22language%22%3A%22zh-cn%22%2C%22value%22%3A%22bot+test%22%7D%7D%2C%22claims%22%3A%7B%22P442%22%3A%5B%7B%22mainsnak%22%3A%7B%22snaktype%22%3A%22value%22%2C%22property%22%3A%22P442%22%2C%22datavalue%22%3A%7B%22value%22%3A%2211+01%22%2C%22type%22%3A%22string%22%7D%7D%2C%22type%22%3A%22statement%22%2C%22rank%22%3A%22normal%22%7D%2C%7B%22id%22%3Anull%2C%22mainsnak%22%3A%7B%22snaktype%22%3A%22value%22%2C%22property%22%3A%22P442%22%2C%22datavalue%22%3A%7B%22value%22%3A%7B%22entity-type%22%3A%22item%22%2C%22numeric-id%22%3A748149%7D%2C%22type%22%3A%22wikibase-entityid%22%7D%7D%2C%22type%22%3A%22statement%22%2C%22rank%22%3A%22normal%22%7D%5D%7D%7D&token=[token-removed]&summary=Populate+%5B%5BProperty%3AP132%5D%5D+from+%5B%5BProperty%3AP442%5D%5D&clear=&bot=; response: {"servedby":"mw1129","error":{"code":"internal_api_error_InvalidArgumentException","info":"Exception Caught: $claimGuid needs to be a string","*":""}}
Comment 1 Addshore 2013-10-20 12:55:33 UTC
You are passing a value of null in this request, which is not a string.
The I'd part of the claim either needs to be a valid claim guid or not be set.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links