<?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: No Request Body (Payload) in Privacy Event from Adobe... in Adobe I/O Events Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-events-questions/no-request-body-payload-in-privacy-event-from-adobe-io-events/m-p/354447#M64</link>
    <description>&lt;P&gt;Figured it out. Use the express.json() method to parse your body. Not mentioned in the setup docs.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2020 17:56:30 GMT</pubDate>
    <dc:creator>keilorblend360</dc:creator>
    <dc:date>2020-02-20T17:56:30Z</dc:date>
    <item>
      <title>No Request Body (Payload) in Privacy Event from Adobe IO Events</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-events-questions/no-request-body-payload-in-privacy-event-from-adobe-io-events/m-p/353608#M63</link>
      <description>&lt;P&gt;*SOLVED. ANSWER BELOW*&lt;BR /&gt;&lt;BR /&gt;I am following the documentation for Subscribing to Privacy Events (&lt;A href="https://www.adobe.io/apis/experienceplatform/home/services/privacy-service.html#!api-specification/markdown/narrative/tutorials/privacy_service_tutorial/privacy-events.md" target="_self"&gt;found here&lt;/A&gt;).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Things I have done:&lt;BR /&gt;1. I have created my local Node.JS/Express App and linked it to ngrok for a public URL.&lt;BR /&gt;2. I have linked my webhook ngrok url to a Privacy Events integration and verified the challenge.&amp;nbsp;&lt;BR /&gt;3. I have set up a "post" route on the root "/" and am logging the request, however there is no body:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;app.post('/', function(request, response) {
  console.log(request);
  console.log(request.body);
  response.send( request.body);
})&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I go to the "debug tracing" of the events in the integration I set up, it's showing a "payload" with information about the event, including the JobID and what product/action was completed. This "payload" is not visible on the request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pastebin.com/raw/Kh1VuCYL" target="_self"&gt;Here is a pastebin&lt;/A&gt; of&amp;nbsp;&lt;SPAN&gt;the entire request object logged from console.log(request); There is no body.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Where am I supposed to get the data from the payload?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 18:00:03 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-events-questions/no-request-body-payload-in-privacy-event-from-adobe-io-events/m-p/353608#M63</guid>
      <dc:creator>keilorblend360</dc:creator>
      <dc:date>2020-02-20T18:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: No Request Body (Payload) in Privacy Event from Adobe...</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-events-questions/no-request-body-payload-in-privacy-event-from-adobe-io-events/m-p/354447#M64</link>
      <description>&lt;P&gt;Figured it out. Use the express.json() method to parse your body. Not mentioned in the setup docs.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 17:56:30 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-i-o-events-questions/no-request-body-payload-in-privacy-event-from-adobe-io-events/m-p/354447#M64</guid>
      <dc:creator>keilorblend360</dc:creator>
      <dc:date>2020-02-20T17:56:30Z</dc:date>
    </item>
  </channel>
</rss>

