# Server error(500) when running AMS migration tool

**URL:** <https://community.bitmovin.com/t/server-error-500-when-running-ams-migration-tool/3154>\
**Category:** Bugs\
**Created:** [July 27, 2024, 1:33am UTC](https://community.bitmovin.com/t/server-error-500-when-running-ams-migration-tool/3154 "2024-07-27T01:33:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rapha](https://avatars.discourse-cdn.com/v4/letter/r/8dc957/32.png) [@rapha](https://community.bitmovin.com/u/rapha)\
**Post date:** [July 27, 2024, 1:33am UTC](https://community.bitmovin.com/t/server-error-500-when-running-ams-migration-tool/3154/1 "2024-07-27T01:33:24Z")

</div>

### Affected product

Other

### Description

When running the AMS migration tool, the status message says: “Migration progress: GetStreamingPathsAndContentKeys finished. 440 jobs finished, 6 failed (out of 449)”.  
Response from endpoint [https://api.bitmovin.com/v1/streams/azure-media-services-migration/status?subscriptionId=MY\_SUBSCRIPTION\_ID](https://api.bitmovin.com/v1/streams/azure-media-services-migration/status?subscriptionId=MY_SUBSCRIPTION_ID) (GET) returns error 500.  
Response data: {“name”:“TypeError”,“message”:“null is not an object (evaluating ‘item.data’)”}  
The migration process gets stuck.

### Expected behavior

Migration should proceed to the next step. It would be nice to show the reason why some jobs failed.

### Reproduction steps

I’m just trying to use the migration tool as described in the documentation.
