<?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 Re: xs odata batch request: Error processing request stream. JSON text specified is not valid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xs-odata-batch-request-error-processing-request-stream-json-text-specified/m-p/802749#M41036</link>
    <description>&lt;P&gt;Hi Oliver, any luck in getting this issue resolved?&lt;/P&gt;&lt;P&gt;I am also getting same error now&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 20:49:37 GMT</pubDate>
    <dc:creator>former_member711464</dc:creator>
    <dc:date>2020-11-04T20:49:37Z</dc:date>
    <item>
      <title>xs odata batch request: Error processing request stream. JSON text specified is not valid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xs-odata-batch-request-error-processing-request-stream-json-text-specified/m-p/802748#M41035</link>
      <description>&lt;P&gt;I got a problem doing POST within a batch request using postman.&lt;/P&gt;
  &lt;P&gt;My request URL is like ....../..../...xsodata/$batch&lt;/P&gt;
  &lt;P&gt;Im using the following Header&lt;/P&gt;
  &lt;P&gt;Content-Type multipart/mixed;boundary=batch&lt;/P&gt;
  &lt;P&gt;My payload is the following&lt;/P&gt;
  &lt;P&gt;--batch Content-Type:multipart/mixed;boundary=changeset &lt;/P&gt;
  &lt;P&gt;Content-Transfer-Encoding:binary &lt;/P&gt;
  &lt;P&gt;--changeset &lt;/P&gt;
  &lt;P&gt;Content-Type:application/http &lt;/P&gt;
  &lt;P&gt;Content-Transfer-Encoding:binary &lt;/P&gt;
  &lt;P&gt;Content-ID: 1 &lt;/P&gt;
  &lt;P&gt;POST Trigger HTTP/1.1 Content-Type: application/json Content-Length:200 &lt;/P&gt;
  &lt;P&gt;{"PARTNER_ID": "0000000003","DB_OPERATION": U,"TIMESTAMP": "201903151634323090315"}&lt;/P&gt;
  &lt;P&gt;--changeset-- --batch--&lt;/P&gt;
  &lt;P&gt;I get the following Error message&lt;EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;"Error processing request stream. JSON text specified is not valid."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;However, using a single POST, there is nothing wrong with the JSON and the record is added to the table:&lt;/P&gt;
  &lt;P&gt;for a single Post i'm using&lt;/P&gt;
  &lt;P&gt;Content-Type application/json as header and&lt;/P&gt;
  &lt;P&gt;{"PARTNER_ID": "0000000003","DB_OPERATION": U,"TIMESTAMP": "201903151634323090315"} as the payload.&lt;/P&gt;
  &lt;P&gt;Does anybody know what I'm doing wrong&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 15:51:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xs-odata-batch-request-error-processing-request-stream-json-text-specified/m-p/802748#M41035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-02-19T15:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: xs odata batch request: Error processing request stream. JSON text specified is not valid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xs-odata-batch-request-error-processing-request-stream-json-text-specified/m-p/802749#M41036</link>
      <description>&lt;P&gt;Hi Oliver, any luck in getting this issue resolved?&lt;/P&gt;&lt;P&gt;I am also getting same error now&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 20:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xs-odata-batch-request-error-processing-request-stream-json-text-specified/m-p/802749#M41036</guid>
      <dc:creator>former_member711464</dc:creator>
      <dc:date>2020-11-04T20:49:37Z</dc:date>
    </item>
  </channel>
</rss>

