Skip to content

Instantly share code, notes, and snippets.

@DominicBM
Last active March 17, 2022 21:19
Show Gist options
  • Save DominicBM/266c5126778fb5884743567ad401e085 to your computer and use it in GitHub Desktop.
Save DominicBM/266c5126778fb5884743567ad401e085 to your computer and use it in GitHub Desktop.
{
'error': {
'code': 'modification-failed',
'info': 'Malformed input: Surname, Given Name; Family Number; Age; Birth Year; Place of Birth Zimonowitz, Annie; 96; 6; 1914; New York Zimonowitz, Milton; 96; 4; 1916; New York Zimonowitz, Jack; 96; 2; 1918; New York Fernstein, James; 97; 31; 1889; New York Fernstein, Pauline; 97; 24; 1896; Russia Fernstein, George; 97; 6; 1914; New York Fernstein, Leo; 97; 3; 1917; New York Morowitz, Morris; 98; 66; 1854; Russia Morowitz, Stella; 98; 64; 1856; Russia Morowitz, Rose; 98; 16; 1904; New York Morowitz, Jacob; 98; 27; 1893; New York Corni, Gabriel; 99; 29; 1891; Turkey Corni, Sarah; 99; 25; 1895; Turkey Corni, Stella; 99; 5; 1915; New York Corni, Simon; 99; 3; 1917; New York Corni, Celia; 99; 0; 1920; New York Corni, Morris; 99; 24; 1896; Turkey Corni, Rachael; 99; 17; 1903; Turkey Fliegal, Joseph; 100; 33; 1887; Austria Fliegal, Sadie; 100; 27; 1893; Austria Fliegal, Sidney; 100; 7; 1913; New York Fliegal, Max; 100; 4; 1916; New York Fliegal, Abraham I; 100; 0; 1920; New York Corni, Joseph; 101; 54; 1866; Turkey Corni, Sapolo; 101; 50; 1870; Turkey Corni, Isaac; 101; 25; 1895; Turkey Holzman, Louis; 102; 26; 1894; Roumania Holzman, Mary; 102; 24; 1896; New York Holzman, Arthur; 102; 2; 1918; New York Fishberger, Anna; 102; 61; 1859; Austria Fishberger, Irving; 102; 23; 1897; New York Levine, Solomon; 103; 30; 1890; Russia Levine, Dinah; 103; 23; 1897; Russia Levine, Florence; 103; 1; 1919; New York Watman, Julius; 103; 22; 1898; Russia Levine, Bennie; 104; 26; 1894; Russia Levine, Sadie; 104; 21; 1899;',
'messages': [{
'name': 'wikibase-validator-malformed-value',
'parameters': ['Surname, Given Name; Family Number; Age; Birth Year; Place of Birth Zimonowitz, Annie; 96; 6; 1914; New York Zimonowitz, Milton; 96; 4; 1916; New York Zimonowitz, Jack; 96; 2; 1918; New York Fernstein, James; 97; 31; 1889; New York Fernstein, Pauline; 97; 24; 1896; Russia Fernstein, George; 97; 6; 1914; New York Fernstein, Leo; 97; 3; 1917; New York Morowitz, Morris; 98; 66; 1854; Russia Morowitz, Stella; 98; 64; 1856; Russia Morowitz, Rose;98; 16; 1904; New York Morowitz, Jacob; 98; 27; 1893; New York Corni, Gabriel; 99; 29; 1891; Turkey Corni, Sarah; 99; 25; 1895; Turkey Corni, Stella; 99; 5; 1915; New York Corni, Simon; 99; 3; 1917; New York Corni, Celia; 99; 0; 1920; New York Corni, Morris; 99; 24; 1896; Turkey Corni, Rachael; 99; 17; 1903; Turkey Fliegal, Joseph; 100; 33; 1887; Austria Fliegal, Sadie; 100; 27; 1893; Austria Fliegal, Sidney; 100; 7; 1913; New York Fliegal, Max; 100; 4; 1916; New York Fliegal, Abraham I; 100; 0; 1920; New York Corni, Joseph; 101; 54; 1866; Turkey Corni, Sapolo; 101; 50; 1870; Turkey Corni, Isaac; 101; 25; 1895; Turkey Holzman, Louis; 102; 26; 1894; Roumania Holzman, Mary; 102; 24; 1896; New York Holzman, Arthur; 102; 2; 1918; New York Fishberger, Anna; 102; 61; 1859; Austria Fishberger, Irving; 102; 23; 1897; New York Levine, Solomon; 103; 30; 1890; Russia Levine, Dinah; 103; 23; 1897; Russia Levine, Florence; 103; 1; 1919; New York Watman, Julius; 103; 22; 1898; Russia Levine, Bennie; 104; 26; 1894; Russia Levine, Sadie; 104; 21; 1899; '],
'html': {
'*': 'Malformed input: Surname, Given Name; Family Number; Age; Birth Year; Place of Birth Zimonowitz, Annie; 96; 6; 1914; New York Zimonowitz, Milton; 96; 4; 1916; New York Zimonowitz, Jack; 96; 2; 1918; New York Fernstein, James; 97; 31; 1889; New York Fernstein, Pauline; 97; 24; 1896; Russia Fernstein, George; 97; 6; 1914; New York Fernstein, Leo; 97; 3; 1917; New York Morowitz, Morris; 98; 66; 1854; Russia Morowitz, Stella; 98; 64; 1856; Russia Morowitz, Rose; 98; 16; 1904; New York Morowitz, Jacob; 98; 27; 1893; New York Corni, Gabriel; 99; 29; 1891; Turkey Corni, Sarah; 99; 25; 1895; Turkey Corni, Stella; 99; 5; 1915; New York Corni, Simon; 99; 3; 1917; New York Corni, Celia; 99; 0; 1920; New York Corni, Morris; 99; 24; 1896; Turkey Corni, Rachael; 99; 17; 1903;Turkey Fliegal, Joseph; 100; 33; 1887; Austria Fliegal, Sadie; 100; 27; 1893; Austria Fliegal, Sidney; 100; 7; 1913; New York Fliegal, Max; 100; 4; 1916; New York Fliegal, Abraham I; 100; 0; 1920; New York Corni, Joseph; 101; 54; 1866; Turkey Corni, Sapolo; 101; 50; 1870; Turkey Corni, Isaac; 101; 25; 1895; Turkey Holzman, Louis; 102; 26; 1894; Roumania Holzman, Mary; 102; 24; 1896; New York Holzman, Arthur; 102; 2; 1918; New York Fishberger, Anna; 102; 61; 1859; Austria Fishberger, Irving; 102; 23; 1897; New York Levine, Solomon; 103; 30; 1890; Russia Levine, Dinah; 103; 23; 1897; Russia Levine, Florence; 103; 1; 1919; New York Watman, Julius; 103; 22; 1898; Russia Levine, Bennie; 104; 26; 1894; Russia Levine, Sadie; 104; 21; 1899; '
}
}],
'*': 'See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of APIdeprecations and breaking changes.'
},
'servedby': 'mw1317'
}
--------
{'action': 'wbeditentity', 'format': 'json', 'id': 'M96365594', 'data': '{"claims": [{"mainsnak": {"snaktype": "value", "property": "P195", "datavalue": {"value": {"entity-type": "item", "numeric-id": 518155}, "type": "wikibase-entityid"}}, "type": "statement", "rank": "normal", "qualifiers": {"P459": [{"snaktype": "value", "property": "P459", "datavalue": {"value":{"entity-type": "item", "numeric-id": 61848113}, "type": "wikibase-entityid"}, "datatype": "wikibase-item"}]}, "references": [{"snaks": {"P854": [{"snaktype": "value", "property": "P854", "datavalue": {"value": "https://dp.la/item/de3e392f8337f30f2e3846d78a8840ce", "type": "string"}}], "P123": [{"snaktype": "value", "property": "P123", "datavalue": {"value": {"entity-type": "item", "numeric-id": 2944483}, "type": "wikibase-entityid"}}], "P813": [{"snaktype": "value", "property": "P813","datavalue": {"value": {"time": "+2022-03-17T00:00:00Z", "timezone": 0, "before": 0, "after": 0, "precision": 11, "calendarmodel": "http://www.wikidata.org/entity/Q1985727"}, "type": "time"}}]}}]}, {"mainsnak": {"snaktype": "value", "property": "P10358", "datavalue": {"value": {"text": "Surname, Given Name; Family Number; Age; Birth Year; Place of Birth Zimonowitz, Annie; 96; 6; 1914; New York Zimonowitz, Milton; 96; 4; 1916; New York Zimonowitz, Jack; 96; 2; 1918; New York Fernstein, James; 97; 31; 1889; New York Fernstein, Pauline; 97; 24; 1896; Russia Fernstein, George; 97; 6; 1914; New York Fernstein, Leo; 97; 3; 1917; New York Morowitz, Morris; 98; 66; 1854; Russia Morowitz, Stella; 98; 64; 1856; Russia Morowitz, Rose; 98;16; 1904; New York Morowitz, Jacob; 98; 27; 1893; New York Corni, Gabriel; 99; 29; 1891; Turkey Corni, Sarah; 99; 25; 1895; Turkey Corni, Stella; 99; 5; 1915; New York Corni, Simon; 99; 3; 1917; New York Corni, Celia; 99; 0; 1920; New York Corni, Morris; 99; 24; 1896; Turkey Corni, Rachael; 99; 17; 1903; Turkey Fliegal, Joseph; 100; 33; 1887; Austria Fliegal, Sadie;100; 27; 1893; Austria Fliegal, Sidney; 100; 7; 1913; New York Fliegal, Max; 100; 4; 1916; New York Fliegal, Abraham I; 100; 0; 1920; New York Corni, Joseph; 101; 54; 1866; Turkey Corni, Sapolo; 101; 50; 1870; Turkey Corni, Isaac; 101; 25; 1895;Turkey Holzman, Louis; 102; 26; 1894; Roumania Holzman, Mary; 102; 24; 1896; New York Holzman, Arthur; 102; 2; 1918; New York Fishberger, Anna; 102; 61; 1859; Austria Fishberger, Irving; 102; 23; 1897; New York Levine, Solomon; 103; 30; 1890; Russia Levine, Dinah; 103; 23; 1897; Russia Levine, Florence; 103; 1; 1919; New York Watman, Julius; 103; 22; 1898; Russia Levine, Bennie; 104; 26; 1894; Russia Levine, Sadie; 104; 21; 1899; ", "language": "en"}, "type": "monolingualtext"}}, "type": "statement", "rank": "normal", "qualifiers": {"P459": [{"snaktype": "value", "property": "P459", "datavalue": {"value": {"entity-type": "item", "numeric-id": 61848113}, "type": "wikibase-entityid"}, "datatype": "wikibase-item"}]}, "references":[{"snaks": {"P854": [{"snaktype": "value", "property": "P854", "datavalue": {"value": "https://dp.la/item/de3e392f8337f30f2e3846d78a8840ce", "type": "string"}}], "P123": [{"snaktype": "value", "property": "P123", "datavalue": {"value": {"entity-type": "item", "numeric-id": 2944483}, "type": "wikibase-entityid"}}], "P813": [{"snaktype": "value", "property": "P813", "datavalue": {"value": {"time": "+2022-03-17T00:00:00Z", "timezone": 0, "before": 0, "after": 0, "precision": 11, "calendarmodel": "http://www.wikidata.org/entity/Q1985727"}, "type": "time"}}]}}]}, {"mainsnak": {"snaktype": "value", "property": "P1225", "datavalue": {"value": "91776885", "type": "string"}}, "type": "statement", "rank": "normal", "qualifiers": {"P459":[{"snaktype": "value", "property": "P459", "datavalue": {"value": {"entity-type": "item", "numeric-id": 61848113}, "type":"wikibase-entityid"}, "datatype": "wikibase-item"}]}, "references": [{"snaks": {"P854": [{"snaktype": "value", "property":"P854", "datavalue": {"value": "https://dp.la/item/de3e392f8337f30f2e3846d78a8840ce", "type": "string"}}], "P123": [{"snaktype": "value", "property": "P123", "datavalue": {"value": {"entity-type": "item", "numeric-id": 2944483}, "type": "wikibase-entityid"}}], "P813": [{"snaktype": "value", "property": "P813", "datavalue": {"value": {"time": "+2022-03-17T00:00:00Z","timezone": 0, "before": 0, "after": 0, "precision": 11, "calendarmodel": "http://www.wikidata.org/entity/Q1985727"}, "type": "time"}}]}}]}, {"mainsnak": {"snaktype": "value", "property": "P7228", "datavalue": {"value": {"entity-type": "item", "numeric-id": 66739888}, "type": "wikibase-entityid"}}, "type": "statement", "rank": "normal", "qualifiers": {"P459": [{"snaktype": "value", "property": "P459", "datavalue": {"value": {"entity-type": "item", "numeric-id": 61848113}, "type": "wikibase-entityid"}, "datatype": "wikibase-item"}]}, "references": [{"snaks": {"P854": [{"snaktype": "value", "property": "P854", "datavalue": {"value": "https://dp.la/item/de3e392f8337f30f2e3846d78a8840ce", "type": "string"}}], "P123": [{"snaktype": "value", "property": "P123", "datavalue": {"value": {"entity-type": "item", "numeric-id": 2944483}, "type": "wikibase-entityid"}}], "P813": [{"snaktype": "value", "property": "P813", "datavalue": {"value": {"time": "+2022-03-17T00:00:00Z", "timezone": 0, "before": 0, "after": 0, "precision": 11, "calendarmodel": "http://www.wikidata.org/entity/Q1985727"}, "type": "time"}}]}}]}, {"mainsnak": {"snaktype": "value", "property": "P6224", "datavalue": {"value": {"entity-type": "item", "numeric-id": 11723795}, "type": "wikibase-entityid"}}, "type": "statement", "rank": "normal", "qualifiers": {"P459": [{"snaktype":"value", "property": "P459", "datavalue": {"value": {"entity-type": "item", "numeric-id": 61848113}, "type": "wikibase-entityid"}, "datatype": "wikibase-item"}]}, "references": [{"snaks": {"P854": [{"snaktype": "value", "property": "P854", "datavalue": {"value": "https://dp.la/item/de3e392f8337f30f2e3846d78a8840ce", "type": "string"}}], "P123": [{"snaktype": "value", "property": "P123", "datavalue": {"value": {"entity-type": "item", "numeric-id": 2944483}, "type": "wikibase-entityid"}}], "P813": [{"snaktype": "value", "property": "P813", "datavalue": {"value": {"time": "+2022-03-17T00:00:00Z", "timezone": 0, "before": 0, "after": 0, "precision": 11, "calendarmodel": "http://www.wikidata.org/entity/Q1985727"}, "type": "time"}}]}}]}]}', 'token': 'xxx', 'bot': True, 'summary': "Added structured data claims from [[COM:DPLA|DPLA]] item '[[dpla:de3e392f8337f30f2e3846d78a8840ce|]]'. [[COM:DPLA/MOD|Leave feedback]]!"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment