I'm am executing the following code
// Request access token and refresh token in exchange for authorisation code var codeVerifier = Storage.getValue("codeVerifier"); // Only persisted to length of exchange Storage.deleteValue("codeVerifier");
The last action to delete the key from Storage is failing with
Error: System Error
Details: 'Failed invoking <symbol>'
Time: 2023-12-10T15:24:17Z
Part-Number: 006-B4169-00
Firmware-Version: '19.19'
Language-Code: eng
ConnectIQ-Version: 4.2.4
Details: 'Failed invoking <symbol>'
Time: 2023-12-10T15:24:17Z
Part-Number: 006-B4169-00
Firmware-Version: '19.19'
Language-Code: eng
ConnectIQ-Version: 4.2.4
Anyone come across this before. Is it trying to tell me I can't delete the Storage key because I have a local variable that somehow is locking it because the Storage.getValue() in the previous line?