<?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: ERROR Invalid value for filter: mentionedPeople in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955187#M2578</link>
    <description>&lt;P&gt;You've provided the bot's email but you'd need to provide the person id as described at &lt;A href="https://developer.webex.com/docs/api/v1/messages/list-messages" target="_blank"&gt;https://developer.webex.com/docs/api/v1/messages/list-messages&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Person IDs usually starts with Y2lz...&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 21:17:15 GMT</pubDate>
    <dc:creator>dtibbe</dc:creator>
    <dc:date>2023-11-07T21:17:15Z</dc:date>
    <item>
      <title>ERROR Invalid value for filter: mentionedPeople</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955184#M2577</link>
      <description>&lt;P&gt;Anyone had success with using webhook to GET messages and filtering on mentionedPeople when the personID is the personID of a webex bot?&lt;/P&gt;
&lt;P&gt;All attempts to create a webhook filtered using this &amp;gt;&amp;gt; mentionedPeople=Get2Finish@webex.bot failed with below error:&lt;/P&gt;
&lt;PRE class="language-json"&gt;&lt;CODE&gt;'Invalid value for filter: mentionedPeople')&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Any guesses on what I might be doing wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 21:11:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955184#M2577</guid>
      <dc:creator>Raghu13</dc:creator>
      <dc:date>2023-11-07T21:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR Invalid value for filter: mentionedPeople</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955187#M2578</link>
      <description>&lt;P&gt;You've provided the bot's email but you'd need to provide the person id as described at &lt;A href="https://developer.webex.com/docs/api/v1/messages/list-messages" target="_blank"&gt;https://developer.webex.com/docs/api/v1/messages/list-messages&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Person IDs usually starts with Y2lz...&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 21:17:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955187#M2578</guid>
      <dc:creator>dtibbe</dc:creator>
      <dc:date>2023-11-07T21:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR Invalid value for filter: mentionedPeople</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955202#M2579</link>
      <description>&lt;P data-unlink="true"&gt;Thank you for responding to my question!&lt;BR /&gt;&lt;BR /&gt;First to clarify what is personID and BotID. This &lt;A href="https://developer.webex.com/docs/api/guides/bots" target="_self"&gt;documentation on Bots goes into the difference between Bots and People&lt;/A&gt; states &lt;BR /&gt;- people have a &lt;CODE&gt;personId&lt;/CODE&gt; that must be resolved via /people, while bots have a Bot Id &lt;STRONG&gt;and&lt;/STRONG&gt; a &lt;CODE&gt;personId&lt;/CODE&gt;. &lt;BR /&gt;- The Bot Id is shown in the apps page and is usually only known to the developer&amp;nbsp; &lt;BR /&gt;- while the bot's &lt;CODE&gt;personId&lt;/CODE&gt; can be looked up via the bot's email address in /people.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;From my Bot developer page, I see the Bot username has a email format XYZ@webex.bot and the BotID a long string that usually starts with Y2lz.... &lt;BR /&gt;&lt;BR /&gt;I have tried creating a webhook using (as below) both IDs and failed.&lt;/P&gt;
&lt;P data-unlink="true"&gt;mentionedPeople=Get2Finish@webex.bot &lt;BR /&gt;mentionedPeople=Y2lzY......&lt;/P&gt;
&lt;P&gt;I have been successful in creating a webhook when I have used a regular users personID which has narrowed down the issue to failure to when I use a Bot info in the filter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 22:15:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955202#M2579</guid>
      <dc:creator>Raghu13</dc:creator>
      <dc:date>2023-11-07T22:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR Invalid value for filter: mentionedPeople</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955207#M2580</link>
      <description>&lt;P&gt;Resolved: &lt;/P&gt;
&lt;P&gt;dtibbe has just one part of the answer in that the ID starts with Y2lz... &lt;/P&gt;
&lt;P&gt;What was missing was the key - you needs to use &lt;A href="https://developer.webex.com/docs/api/v1/people/list-people" target="_blank"&gt;https://developer.webex.com/docs/api/v1/people/list-people&lt;/A&gt;&amp;nbsp; to find the Bots personID &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 23:26:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-invalid-value-for-filter-mentionedpeople/m-p/4955207#M2580</guid>
      <dc:creator>Raghu13</dc:creator>
      <dc:date>2023-11-07T23:26:23Z</dc:date>
    </item>
  </channel>
</rss>

