# Message: \`Unexpected response status code = 500, cannot create SupportArchive file.\`

**URL:** <https://community.dynatrace.com/t/message-unexpected-response-status-code-500-cannot-create-supportarchive-file/43146>\
**Category:** Troubleshooting\
**Tags:** activegate\
**Created:** [December 12, 2023, 11:10am UTC](https://community.dynatrace.com/t/message-unexpected-response-status-code-500-cannot-create-supportarchive-file/43146 "2023-12-12T11:10:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mariusz](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@Mariusz](https://community.dynatrace.com/u/Mariusz)\
**Post date:** [December 12, 2023, 11:10am UTC](https://community.dynatrace.com/t/message-unexpected-response-status-code-500-cannot-create-supportarchive-file/43146/1 "2023-12-12T11:10:00Z")

</div>

If you encountered the message&nbsp;`Unexpected response status code = 500, cannot create SupportArchive file.` while creating a diagnostic data file via _agctl_:

- The most common issue is the lack of free disk space. Check if there is enough free space to create a diagnostic data file.
- Make sure that the ActiveGate process has permissions to ActiveGate’s tmp folder.
