maskaravivek added a comment.

  Thanks, @matej_suchanek. That was indeed the cause of the error.
  
  I am now able to call the API successfully. For reference, this is the claim 
that I am using now.
  
    {
        "id": "Q7110921$35f7634d-f4b9-4d51-aac8-1143ea95230c",
        "mainsnak": {
            "datavalue": {
                "value": "Test.jpg",
                "type": "string"
            },
            "property": "P18",
            "snaktype": "value"
        },
        "qualifiers": {
            "P2096": {
                "datavalue": {
                    "value": {
                        "language": "en",
                        "text": "Test"
                    },
                    "type": "monolingualtext"
                },
                "property": "P2096",
                "snaktype": "value"
            }
        },
        "qualifiers-order": [
            "P2096"
        ],
        "rank": "normal",
        "type": "statement"
    }

TASK DETAIL
  https://phabricator.wikimedia.org/T255852

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: maskaravivek
Cc: matej_suchanek, Aklapper, maskaravivek, Liuxinyu970226, darthmon_wmde, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to