connorshea added a comment.
I get a 403 (`{\"error\":\"rest-write-denied\",\"httpCode\":403,\"httpReason\":\"Forbidden\"}`) when using a Wikidata beta site entity for the quantity unit: { "statement": { "mainsnak": { "snaktype": "value", "property": "P937", "datatype": "quantity", "datavalue": { "type": "quantity", "value": { "amount": "+1", "upperBound": null, "lowerBound": null, "unit": "https://wikidata.beta.wmflabs.org/entity/Q358085" } } }, "qualifiers": { }, "references": [ ], "rank": "normal", "type": "statement" }, "bot": true } Ditto if I set unit to just "1". And same 403 if I remove the upperBound/lowerBound attributes: { "statement": { "mainsnak": { "snaktype": "value", "property": "P937", "datatype": "quantity", "datavalue": { "type": "quantity", "value": { "amount": "+1", "unit": "1" } } }, "qualifiers": { }, "references": [ ], "rank": "normal", "type": "statement" }, "bot": true } TASK DETAIL https://phabricator.wikimedia.org/T315158 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: connorshea Cc: WMDE-leszek, Addshore, Ollie.Shotton_WMDE, connorshea, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org