<?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>Question Re: Invalid Notification Target Id in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262858#M4167181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed that error . It was the type of device which was registered hence it was giving invalid target type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i m facing a new issue. I am sending the notification. it says notification is sent for processing but i do not see the notification coming on Android device. Any suggestions for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/776365" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We enabled communications to any port and any ip from the server so i do not think it is something related to network or firewall.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="455584" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Daniel Van Leeuwen" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 11:02:51 GMT</pubDate>
    <dc:creator>rakshit_doshi</dc:creator>
    <dc:date>2015-08-24T11:02:51Z</dc:date>
    <item>
      <title>Invalid Notification Target Id</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaq-p/11262855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to push notifications for Android and we configured the application on SMP for Push notification with the Project number as well as the API Key (Browser Key).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/776132" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/776133" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/776134" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to send a notification from the rest client it says Invalid Notification Target Id. I am not sure why are we get this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone been able to successfully send notification from SMP to Android Devices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/776135" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are running on SMP 3.0 SP7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="83109" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Jitendra Kansal" href="https://community.sap.com/"&gt;&lt;/A&gt; &lt;A __default_attr="466095" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Midhun VP" href="https://community.sap.com/"&gt;&lt;/A&gt; &lt;A __default_attr="437041" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Kiran Kola" href="https://community.sap.com/"&gt;&lt;/A&gt; &lt;A __default_attr="435399" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Marvin Hoffmann" href="https://community.sap.com/"&gt;&lt;/A&gt; Any suggestions on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rakshit Doshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 04:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaq-p/11262855</guid>
      <dc:creator>rakshit_doshi</dc:creator>
      <dc:date>2015-08-24T04:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Notification Target Id</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262856#M4167179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you confirm if user (that you have passed in AUTHORIZATION header) has role as 'Notification User' ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, 404 message comes when app didnt successfully register for notifications. Can you cross verify it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;URI: &lt;A href="http://smpserverhostname:8080/odata/applications/latest/com.test.dept/Connections" title="http://smpserverhostname:8080/odata/applications/latest/com.test.dept/Connections"&gt;http://smpserverhostname:8080/odata/applications/latest/com.test.dept/Connections('.....')&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Method: GET&lt;/P&gt;&lt;P&gt;Header: X-SMP-APPCID and its value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once everything is checked, try with a POST request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://server:port/restnotification/application/com.test.dept/"&gt;http://server:port/restnotification/application/com.test.dept/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;payload:&lt;/P&gt;&lt;P&gt;{"alert":"New Vacation Approval Request", "data":"For (i826565) request (7)" }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262856#M4167179</guid>
      <dc:creator>Jitendra_Kansal</dc:creator>
      <dc:date>2015-08-24T07:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Notification Target Id</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262857#M4167180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakshit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a native app or a hybrid app?&lt;/P&gt;&lt;P&gt;I haven't tested it recently in SMP 3. But tested it in HCPms with Kapsel: &lt;A href="http://enterprisemobilityblog.com/android-push-notifications-with-hcpms/" title="http://enterprisemobilityblog.com/android-push-notifications-with-hcpms/"&gt;http://enterprisemobilityblog.com/android-push-notifications-with-hcpms/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Regards, Midhun&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;SAP Technology RIG&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 07:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262857#M4167180</guid>
      <dc:creator>midhun_vp</dc:creator>
      <dc:date>2015-08-24T07:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Notification Target Id</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262858#M4167181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed that error . It was the type of device which was registered hence it was giving invalid target type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i m facing a new issue. I am sending the notification. it says notification is sent for processing but i do not see the notification coming on Android device. Any suggestions for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/776365" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We enabled communications to any port and any ip from the server so i do not think it is something related to network or firewall.&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="455584" __jive_macro_name="user" class="jive_macro_user jive_macro" data-objecttype="3" data-orig-content="Daniel Van Leeuwen" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 11:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262858#M4167181</guid>
      <dc:creator>rakshit_doshi</dc:creator>
      <dc:date>2015-08-24T11:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Notification Target Id</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262859#M4167182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I fixed that error . It was the type of device which was registered hence it was giving invalid target type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate how you fixed that? I'm having the same issue and I've tried a lot of different solutions and I'm still getting that same error over and over again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 13:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262859#M4167182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-12-10T13:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Notification Target Id</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262860#M4167183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ricardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send me ur request payload that you send.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rakshit Doshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2015 05:06:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-notification-target-id/qaa-p/11262860#M4167183</guid>
      <dc:creator>rakshit_doshi</dc:creator>
      <dc:date>2015-12-13T05:06:57Z</dc:date>
    </item>
  </channel>
</rss>

