Sourcemap uplaoding is not working

I am trying to upload sourcemaps to openreplay and getting error:
logs

dir
Request:  {
  method: 'PUT',
  hostname: 'DOMAIN',
  path: '/api/2/sourcemaps/',
  headers: {
    Authorization: 'KEY,
    'Content-Type': 'application/json'
  }
} 
Files:  [
  ... 52 more items
]
Response Code:  404 
Message:  Not Found
Sourcemap Uploader: Server Error. Please, contact OpenReplay support.

I ran this command

sourcemap-uploader -l -s https://DOMAIN/api -k KEY -p 2 dir -m ./packages/app/dist/assets -u https://URL/assets

How to debug this issue? What am I doing wrong?