Hello Sanket Khot,
Thanks for reaching out!
The subscription notification endpoint (specified in the notificationUrl property) must be capable of responding to a validation request as described in Notification Endpoint Validation. If validation fails, the request to create the subscription returns a 400 Bad Request error. Ensure that your API accepts "text/plain" as a Content-Type.
Additionally, you can use the Microsoft Graph Postman collection to confirm that your endpoint properly implements the validation request.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.