question

MMadmin-8891 avatar image
0 Votes"
MMadmin-8891 asked Danstan-MSFT commented

problem while creating subscription for sharepoint webhook

Microsoft Graph WebHooks was working fine but I am getting a problem today while creating a subscription for SharePoint.


Server returned HTTP response code: 500 for URL: https://graph.microsoft.com/v1.0/subscriptions [{"error":{"code":"ExtensionError","message":"Operation: Create; Exception: [A task was canceled.]","innerError":{"date":"2021-09-21T06:47:38","request-id":"1234","client-request-id":"1234"}}}



Please help me out

office-sharepoint-server-developmentmicrosoft-graph-notifications
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

what resource are you subscribing to? Please also expose the request id and timestamp.

0 Votes 0 ·

1 Answer

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered

Hi @MMadmin-8891,

You could try to use SharePoint rest api to create subscription: https://docs.microsoft.com/en-us/sharepoint/dev/apis/webhooks/lists/create-subscription



If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.