Hi @Manikant Jha,
The error message says one of the provided arguments is not acceptable. It looks like the Subscription API doesn't support the resource of drives. Per the document, the api only support list. Please make a reference
Per my test, we can create subscriptions for a list by following request
{
changeType: 'updated',
notificationUrl: webhookUrl,
resource: `/sites/{site-id}/lists/{list-id}`,
expirationDateTime: '2023-07-10T11:59:00.0000000Z',
clientState: 'clientState',
latestSupportedTlsVersion: 'v1_2'
}
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.