Error while writing to Wikidata
{'error': {'code': 'modification-failed', 'info': 'Must be at least one character long', 'messages': [{'name': 'wikibase-validator-too-short', 'parameters': ['1', ''], 'html': {'*': 'Must be at least one character long'}}], '*': 'See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.'}, 'servedby': 'mw1289'}
Does anyone know why that happens? I could not figure out if it is an actual bug or if it is something in my code.
Hello,
I have tried to use the publication module to update wikidata and got an error. This is the code I run:
And that is the error I got:
Does anyone know why that happens? I could not figure out if it is an actual bug or if it is something in my code.
The full analysis notebook is here.
Thanks!