From 2ceb0c9f9c5a52f07e8933b5e76e63aa11cf1dbd Mon Sep 17 00:00:00 2001 From: reivilibre Date: Mon, 6 Dec 2021 13:25:55 +0000 Subject: [PATCH] Add troubleshooting documentation for when you receive 'Could not deserialize key data' when using APNs with key files. (#286) --- changelog.d/286.doc | 1 + docs/troubleshooting.md | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 changelog.d/286.doc diff --git a/changelog.d/286.doc b/changelog.d/286.doc new file mode 100644 index 00000000..bfb455d6 --- /dev/null +++ b/changelog.d/286.doc @@ -0,0 +1 @@ +Add troubleshooting documentation for when you receive 'Could not deserialize key data' when using APNs with key files. \ No newline at end of file diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 9b1a592d..7f22ec7f 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -157,6 +157,13 @@ com.example.myapp.ios: in your Sygnal config file. +### 'ValueError: Could not deserialize key data' + +This error suggests that your key file (`.p8` file) is not valid. +If viewed with a text editor, the file should begin with `----- BEGIN PRIVATE KEY -----`. +If yours doesn't, you probably have the wrong kind of file. + + # Appendices ## Sending a notification to Sygnal manually with `curl`