Over the last few days I have a problem when trying to upload files via API to Russian Wikivoyage. The upload fails with the error message
internal_api_error_DBQueryError: [WpSP@QpAAE0AAGaeVOoAAACX] Database query error.
(the code in square brackets changes from one attempt to another). Manual file upload works normally.
I am not sure which tags to use in this case. Please, change them as appropriate. Thanks!