APNs integration issue

Hi all!
I'm trying to send a push notification with APNs. I've set the provider configuration, the template and the subscriber's token but when I'm trying to send it I get the error you can see below which I'm not sure what it is.

{
"stack": "Error: Could not build push handler id: 638f1b1c79b266fa794fd3e5, error: VError: Failed to generate token: error:0909006C:PEM routines:get_name:no start line\n at PushFactory.getHandler (/usr/src/app/apps/api/dist/main.js:16142:19)\n at SendMessagePush.<anonymous> (/usr/src/app/apps/api/dist/main.js:16089:54)\n at Generator.next (<anonymous>)\n at fulfilled (/usr/src/app/apps/api/dist/main.js:15948:58)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)",
"message": "Could not build push handler id: 638f1b1c79b266fa794fd3e5, error: VError: Failed to generate token: error:0909006C:PEM routines:get_name:no start line"
}

Do you have any idea about this?

Thanks in advance!
Was this page helpful?