Good Afternoon,
I'm attempting to send built in notifications to group members via collector using the arcgis.gis.Group.notify function.
I created a test group, and added a single member to the group to test. When I run the code block below, I get the following exception: I don't see anywhere in our organizational configuration, or documentation online where users can be configured to receive notifications. Does anyone know how to allow users to receive notifications, or potentially offer insight as to why this error is happening?
from arcgis.gis import GIS, Group, GroupManager
gis = GIS("home")
group = gis.groups.search('title: notify test group')
group = group[0]
group
members = group.get_members()
for user in members['users']:
print (user)
group.notify(user, 'Notice!','Message Body', method = 'builtin', client_id= None)
Exception: Unable to send notification.
One or more users in the list are not allowed to receive notifications.
(Error Code: 400)