title: Getting an error "Can not deserialize instance of java.lang.String out of START_OBJECT " even though the Json code is from Docs
body: <p>I took this syntax for the payload from the formal docs of jira, yet i am still getting an error. I am using either python or curl both give the same error.  I supppose this is a Json related issue , could you find what is wrong with the jason/payload and how do i go about fixing it?</p>
  <pre><code>import requests
  import json
  
  url = &quot;https://jira.company.io/rest/api/latest/issue/ISS-37424/transitions&quot;
  
  
  
  payload = json.dumps({
    &quot;update&quot;: {
      &quot;comment&quot;: [
        {
          &quot;add&quot;: {
            &quot;body&quot;: {
              &quot;type&quot;: &quot;doc&quot;,
              &quot;version&quot;: 1,
              &quot;content&quot;: [
                {
                  &quot;type&quot;: &quot;paragraph&quot;,
                  &quot;content&quot;: [
                    {
                      &quot;text&quot;: &quot;Bug has been fixed&quot;,
                      &quot;type&quot;: &quot;text&quot;
                    }
                  ]
                }
              ]
            }
          }
        }
      ]
    },
    &quot;transition&quot;: {
      &quot;id&quot;: &quot;2&quot;
    }
  })
  
  headers = {
  'Authorization': 'Basic YmVzQ=LKKJYTFTgfg','
  
  Accept': 'application/json',
  'Content-Type': 'application/json',
  
  }
  response = requests.request(&quot;POST&quot;, url, headers=headers, data=payload)
  print(response.text)
  </code></pre>