Skip to content

Commit 7d99573

Browse files
authored
Merge pull request #8352 from isabelcabezasm/patch-1
Error creating the device enrollment entry
2 parents 23e6b59 + f8b51bc commit 7d99573

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

articles/iot-dps/how-to-connect-mxchip-iot-devkit.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,17 @@ To save a unique device secret on the DevKit:
114114

115115
![Upload certificate](./media/how-to-connect-mxchip-iot-devkit/upload-cert.png)
116116

117+
> [!NOTE]
118+
> If you have an error with this message:
119+
>
120+
> `{"message":"BadRequest:{\r\n \"errorCode\": 400004,\r\n \"trackingId\": \"1b82d826-ccb4-4e54-91d3-0b25daee8974\",\r\n \"message\": \"The certificate is not a valid base64 string value\",\r\n \"timestampUtc\": \"2018-05-09T13:52:42.7122256Z\"\r\n}"}`
121+
>
122+
> Open the certificate file **.pem** as text (open with Notepad or any text editor), and delete the lines:
123+
>
124+
> `"-----BEGIN CERTIFICATE-----"` and `"-----END CERTIFICATE-----"`.
125+
>
126+
127+
117128
## Start the DevKit
118129

119130
1. Open VS Code and the serial monitor.

0 commit comments

Comments
 (0)