# Unable to upload source maps due to backend closed connection erorr

**URL:** <https://discuss.elastic.co/t/unable-to-upload-source-maps-due-to-backend-closed-connection-erorr/344053>\
**Category:** APM\
**Tags:** elastic-stack-monitoring, nodejs\
**Created:** [September 28, 2023, 9:58am UTC](https://discuss.elastic.co/t/unable-to-upload-source-maps-due-to-backend-closed-connection-erorr/344053 "2023-09-28T09:58:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![David\_Luna\_Bistuer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_luna_bistuer/32/122147_2.png) [@David\_Luna\_Bistuer](https://discuss.elastic.co/u/David_Luna_Bistuer)\
**Post date:** [September 28, 2023, 2:03pm UTC](https://discuss.elastic.co/t/unable-to-upload-source-maps-due-to-backend-closed-connection-erorr/344053/2 "2023-09-28T14:03:17Z")

</div>

Hi @Anandakumar,

recently we had a similar issue and was responded with some info links and samples of uploading sourcemaps. Please have a look

> [@How can I ensure that Elastic APM understands that an uploaded source map should be used for error monitoring?](https://discuss.elastic.co/t/how-can-i-ensure-that-elastic-apm-understands-that-an-uploaded-source-map-should-be-used-for-error-monitoring/342412/2):
>
> Hi @Casper_Aangeenbrug, Thanks for reaching out! I have a few questions and comments: What version of RUM are you using? (version 5.12 added [this fix](https://www.elastic.co/guide/en/apm/agent/rum-js/current/release-notes-5.x.html#_bug_fixes_3) for error capturing) What version of the elastic stack are you using? Are you using APM server standalone or APM integration? here is an [full-fledge example](https://discuss.elastic.co/t/uploading-sourcemaps-from-aix-webserver/303526/15) of how to make work sourcemaps for APM standalone with version 7.17, please take a look when you have time. Important: For higher versions the steps remain the same, the only d…

---

_[View the full topic](https://discuss.elastic.co/t/unable-to-upload-source-maps-due-to-backend-closed-connection-erorr/344053)._
