Unable to process your request. Please verify if the name and value is appropriate for the "xmlData" parameter.

Unable to process your request. Please verify if the name and value is appropriate for the "xmlData" parameter.

Hello

I'm trying to use the example of insertRecords Method for new contact, using POST.

but i'm facing issue when i run code with browser then get error :"  4834Invalid Ticket Id"

when i'm trying from postman  error : 


<?xml version="1.0" encoding="UTF-8" ?>
<response uri="/crm/private/xml/Contacts/insertRecords">
    <error>
        <code>4600</code>
        <message>Unable to process your request. Please verify if the name and value is appropriate for the "xmlData" parameter.</message>
    </error>
</response>



Here is my code : 

$xml = 
        '<?xml version="1.0" encoding="UTF-8"?>
        <Contacts>
        <row no="1">
        <FL val="First Name">'.$fornavn.'</FL>
        <FL val="Last Name">'.$efternavn.'</FL>
        <FL val="Email">pinal@gmail.com</FL>
        <FL val="Department">land</FL>
        <FL val="Phone">999999999</FL>
        <FL val="Fax">99999999</FL>
        <FL val="Mobile">99989989</FL>
        <FL val="Assistant">none</FL>
        </row>
        </Contacts>';

    $query="authtoken=".$auth."&scope=crmapi&newFormat=1&xmlData=".$xml;

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 30);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $query);
    $response = curl_exec($ch);

anyone can help me to fix?