<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.sophos.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Bad Server Response when Creating Migration Job</title><link>https://community.sophos.com/sophos-central/f/discussions/147930/bad-server-response-when-creating-migration-job</link><description>Hi, 
 I am using the following code to move a device from one sub-estate to another: 
 
 
 The problem is, when creating the migration job, powershell returns &amp;quot;BadServerResponse&amp;quot;. As far as I can tell the headers and body are appropriate, and the token</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Bad Server Response when Creating Migration Job</title><link>https://community.sophos.com/thread/548364?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 21:12:17 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:238081d4-7178-4989-8d0e-6db3e0ccb957</guid><dc:creator>David Thatcher</dc:creator><description>&lt;p&gt;Fixed, I had to remove:&lt;/p&gt;
&lt;p&gt;&amp;quot;X-Organization-ID&amp;quot; = $OrgID&lt;/p&gt;
&lt;p&gt;Front the headers of the create migration task step.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>