S3 Swift remote storage upload problem with multipart upload

We are using Kaltura CE on Ubuntu 16 with integrated S3 swift remote storage.
Everything is working on files up to 4 GB. Bigger file uploads end up with errors like this:

Error: Can’t put file [/Kaltura/20230322/0/0_nnqo5xbk_0_vb9bb154_12.mp4] - An error was encountered while performing a multipart upload: Part number must be an integer between 1 and 1000, inclusive

Any solution or clues?