Activity Feed Notifications
1 TopicActivity Feed Notifications Fail Due to WebUrl Length Limit
Hello, I'm using the https://learn.microsoft.com/en-us/graph/api/userteamwork-sendactivitynotification?view=graph-rest-1.0&tabs=javascript#request-headers Graph API to send Activity Feed Notifications to Teams users. I'm using a https://learn.microsoft.com/en-us/graph/api/userteamwork-sendactivitynotification?view=graph-rest-1.0&tabs=javascript#example-2-notify-a-user-about-an-event-using-custom-topic and https://learn.microsoft.com/en-us/graph/teams-send-activityfeednotifications?tabs=javascript#example-8-send-a-notification-to-a-user-using-the-systemdefault-activity-type activity type. The https://learn.microsoft.com/en-us/graph/api/resources/teamworkactivitytopic?view=graph-rest-1.0#properties is a deep link to my Teams Personal Tab app. I also include a payload in the deep link, which becomes available in the tab context. I have noticed that the notification fails if the webUrl length exceeds 1024, due to some larger payloads. error: {"code":"BadRequest","message":"UnknownError"} I couldn't find any documented length limit. I have followed these guides - https://learn.microsoft.com/en-us/graph/teams-send-activityfeednotifications?tabs=javascript https://learn.microsoft.com/en-us/graph/teams-activity-feed-notifications-best-practices Is there a way around this limit, or some other way to include larger payload data when sending the notification?Solved718Views0likes3Comments