Skip to content

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

Description

@hareshkalyani

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions