Skip to content

Common Errors

Incorrect Bearer token specified

Each request to Plunk is authenticated with your public or private key. This key is found in your project settings and should be passed through a bearer token in the authentication settings.

  • A public key always starts with pk_
  • A secret key always starts with sk_

If you are not sure which key is the right one for your task, then the public key is the one you need.

You cannot manually trigger a template event

Every time you create a template in Plunk, Plunk will automatically create two events:

  • my-template-delivered: Triggered when that template is delivered to an inbox
  • my-template-opened: Triggered when that template is opened by a user

These events are reserved for the system and cannot be manually triggered through the API. Instead, they will be automatically triggered by Plunk.