Skip to content

Error on create subscription for teams chat messages #1849

@LuccaRebelloToledo

Description

@LuccaRebelloToledo

I'm trying to create a subscription to receive notifications about user messages, but I'm receiving an ExtensionError. I'm basing myself on Team chats

I've tried to create a subscription with the sample code I've found on Microsoft but I received an error. My expectation is to create a subscription to capture all chat messages on Teams.

image

Permissions Granted:
Permissions

My body:

{
    "changeType": "created",
    "notificationUrl": "https://teams.execute-api.us-east-1.amazonaws.com/dev/notification-listener",
    "lifecycleNotificationUrl": "https://teams.execute-api.us-east-1.amazonaws.com/dev/lifecycle-notification-listener",
    "resource": "/me/chats",
    "expirationDateTime": "2024-12-06T14:29:36.010Z",
    "clientState": "secretClientState",
}

The error I'm receiving:

Internal Server Error - 500 - 5157 ms

{
    "error": {
        "code": "ExtensionError",
        "message": "Operation: Create; Exception: [Specified method is not supported.]",
        "innerError": {
            "date": "2024-12-05T15:48:55",
            "request-id": "01c567e9-30ee-4770-869c-a5284bbf255a",
            "client-request-id": "a70045a4-84d3-05ee-6d52-e793f04ab864"
        }
    }
}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions