Error while creating custom event

Hi guys, while I was creating custom event and when I ran my code and then this error is coming up, can someone please help me with that…

Hey there @akashhadiya Welcome to the community :sunglasses:

The response says that the credentials are invalid.

Check to make sure you have added a header to the query with
Name: Authorization
Value: Bearer {Your API Key}

Like this: