Hello,
It looks like you are using REST v2. You should move to v3. In v3, files are managed as blobs by the Storage SDK. AMS does not provide anymore an asset file concept.
You don't mention which SDK and code you are using to upload the content. I remember that some code is needed to update the size of the file after the upload (to update the metadata in AMS).