Re: [Wikidata-tech] Write data with Wibase API 'wbeditentity'

2015-08-12 Thread Bene*
Hi, the issue that there is no meaningful error message is tracked in https://phabricator.wikimedia.org/T93668 Best regards Bene Am 12.08.2015 um 11:26 schrieb Addshore: Hi all. So I was sent a link to the instance and had a quick look and it was as I suspected. (here is my response with

Re: [Wikidata-tech] Write data with Wibase API 'wbeditentity'

2015-08-11 Thread Bo Ferri
Hi Addshore, currently, I can't see what's wrong with the Statement with the property P251. It should refer to another Item (which should be possible within the Wikidata data model). This is the difference between all other Statements - they simply refer to literal Values. I also had a

Re: [Wikidata-tech] Write data with Wibase API 'wbeditentity'

2015-08-11 Thread Addshore
Hi Bo! Would it be possible to get access / a URL to this test instance? Feel free to send it to me outside of this list (if possible) Addshore On 11 August 2015 at 08:05, Bo Ferri z...@smiy.org wrote: Hi Addshore, currently, I can't see what's wrong with the Statement with the property

Re: [Wikidata-tech] Write data with Wibase API 'wbeditentity'

2015-08-10 Thread Addshore
At a guess this is due to a miss match between the datavalue of a property and the datavalue that you are trying to set in a statement for that property. The error also says that it gets an array where it expects a string so I guess the issue is with P251 where the value is an array instead of a