c-sharp icon indicating copy to clipboard operation
c-sharp copied to clipboard

Nuget 6.19.4 having issue with issue with **DECRYPT ERROR** on FetchHistory

Open hareshkalyani opened this issue 1 year ago • 0 comments

Just upgraded the Pubnub from 3.18.4 to direct 6.19.4.

All went well but Fetch history having exeption on decryption.

Same thing worked for nuget 6.19.3.

After checking last commits for 6.19.4 I see exception at this place.

File: src/Api/PubnubApi/Security/SecureMessage.cs Line number: 159

object decodeMessage = jsonLib.DeserializeToObject((decryptMessage == "**DECRYPT ERROR**") ? decryptMessage : decryptMessage);

if there is DECRYPT ERROR, it should not be taking decryptMessage, it should be taking kvpValue.Value.ToString() as its done at other places.

hareshkalyani avatar Jan 09 '24 13:01 hareshkalyani