<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic dosave() shows bad request/object write failed in nodejs in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/dosave-shows-bad-request-object-write-failed-in-nodejs/m-p/1844025#M15699</link>
    <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container d-flex jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&lt;DIV class="js-vote-count flex--item d-flex fd-column ai-center fc-black-500 fs-title"&gt;0&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;P&gt;I am trying to create a .qvf file from serialized json with enigma.js but the doSave() method at last shows me error as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;(node:16376) UnhandledPromiseRejectionWarning: Error: Bad Request&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;error response&lt;/P&gt;&lt;PRE&gt;{
  &lt;SPAN class="hljs-attr"&gt;jsonrpc&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'2.0'&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-attr"&gt;id&lt;/SPAN&gt;: &lt;SPAN class="hljs-number"&gt;96&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-attr"&gt;error&lt;/SPAN&gt;: {
    &lt;SPAN class="hljs-attr"&gt;code&lt;/SPAN&gt;: &lt;SPAN class="hljs-number"&gt;400&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr"&gt;parameter&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'Object write failed.'&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr"&gt;message&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'Bad Request'&lt;/SPAN&gt;
  }
}&lt;/PRE&gt;&lt;PRE&gt;.&lt;SPAN class="hljs-title function_"&gt;then&lt;/SPAN&gt;(&lt;SPAN class="hljs-keyword"&gt;function&lt;/SPAN&gt;(){
  &lt;SPAN class="hljs-keyword"&gt;return&lt;/SPAN&gt; context.&lt;SPAN class="hljs-property"&gt;app&lt;/SPAN&gt;.&lt;SPAN class="hljs-title function_"&gt;doSave&lt;/SPAN&gt;();
})&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 08 Oct 2021 08:10:58 GMT</pubDate>
    <dc:creator>sheetals</dc:creator>
    <dc:date>2021-10-08T08:10:58Z</dc:date>
    <item>
      <title>dosave() shows bad request/object write failed in nodejs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/dosave-shows-bad-request-object-write-failed-in-nodejs/m-p/1844025#M15699</link>
      <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container d-flex jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&lt;DIV class="js-vote-count flex--item d-flex fd-column ai-center fc-black-500 fs-title"&gt;0&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;P&gt;I am trying to create a .qvf file from serialized json with enigma.js but the doSave() method at last shows me error as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;(node:16376) UnhandledPromiseRejectionWarning: Error: Bad Request&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;error response&lt;/P&gt;&lt;PRE&gt;{
  &lt;SPAN class="hljs-attr"&gt;jsonrpc&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'2.0'&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-attr"&gt;id&lt;/SPAN&gt;: &lt;SPAN class="hljs-number"&gt;96&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-attr"&gt;error&lt;/SPAN&gt;: {
    &lt;SPAN class="hljs-attr"&gt;code&lt;/SPAN&gt;: &lt;SPAN class="hljs-number"&gt;400&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr"&gt;parameter&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'Object write failed.'&lt;/SPAN&gt;,
    &lt;SPAN class="hljs-attr"&gt;message&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'Bad Request'&lt;/SPAN&gt;
  }
}&lt;/PRE&gt;&lt;PRE&gt;.&lt;SPAN class="hljs-title function_"&gt;then&lt;/SPAN&gt;(&lt;SPAN class="hljs-keyword"&gt;function&lt;/SPAN&gt;(){
  &lt;SPAN class="hljs-keyword"&gt;return&lt;/SPAN&gt; context.&lt;SPAN class="hljs-property"&gt;app&lt;/SPAN&gt;.&lt;SPAN class="hljs-title function_"&gt;doSave&lt;/SPAN&gt;();
})&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2021 08:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/dosave-shows-bad-request-object-write-failed-in-nodejs/m-p/1844025#M15699</guid>
      <dc:creator>sheetals</dc:creator>
      <dc:date>2021-10-08T08:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: dosave() shows bad request/object write failed in nodejs</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/dosave-shows-bad-request-object-write-failed-in-nodejs/m-p/2029899#M17979</link>
      <description>&lt;P&gt;Did you find out what was causing this issue? I'm facing the same error message trying to publish bookmarks.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 14:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/dosave-shows-bad-request-object-write-failed-in-nodejs/m-p/2029899#M17979</guid>
      <dc:creator>_jespers_</dc:creator>
      <dc:date>2023-01-25T14:20:51Z</dc:date>
    </item>
  </channel>
</rss>

