# Sourcemap uplaoding is not working

**URL:** <https://forum.openreplay.com/t/sourcemap-uplaoding-is-not-working/523>\
**Category:** 🛠️ Deployment\
**Tags:** deployment\
**Created:** [June 11, 2025, 1:38pm UTC](https://forum.openreplay.com/t/sourcemap-uplaoding-is-not-working/523 "2025-06-11T13:38:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![faiyaz-apron](https://avatars.discourse-cdn.com/v4/letter/f/a9adbd/32.png) [@faiyaz-apron](https://forum.openreplay.com/u/faiyaz-apron)\
**Post date:** [June 11, 2025, 1:38pm UTC](https://forum.openreplay.com/t/sourcemap-uplaoding-is-not-working/523/1 "2025-06-11T13:38:07Z")

</div>

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

```auto
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

```auto
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?
