My bot tried to edit https://www.wikidata.org/wiki/Q20427242 , but failed:
not-recognized-language: The supplied language code was not recognized. [messages:[{u'html': {u'*': u'The supplied language code was not recognized.'}, u'name': u'wikibase-api-not-recognized-language', u'parameters': []}]; help: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.]
<class 'pywikibot.exceptions.OtherPageSaveError'>
Besides the fact it's weird that an invalid language is already in use, the message should return the language code of the offending language.