webook notification 500 error

I have configured webhooks in sanbox account and doing the action to create a contact but the logger shows this, how to resolve? kindly help
{ “status”: “error”, “message”: “The scope needed for this API call isn’t available for public use. If you have questions, contact support or post in our developer forum.”,
“correlationId”: “29a9f255-4ea1-4e6d-8931-0e0d490d47be”,
“links”: { “support”: “https://help.hubspot.com/”, “forum”: “https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations” }, “category”: “MISSING_SCOPES” }

Hey @Prabakaran what endpoint are you using to do this?

Hi @Prabakaran

Looks like you have not provided the required scopes in your APP. Go to the app setting and provide the scope required for that API.
If you can specify which API/endpoint you are using we can tell you the exact scopes required.

for reference, you can check the scope here in screenshot below

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!