My Oracle Support Banner

Query to Ledger using getQueryResultForQueryString() returns Null for Several Keys (Doc ID 2547296.1)

Last updated on NOVEMBER 16, 2020

Applies to:

Blockchain Platform Cloud Service - Version N/A to N/A
Information in this document applies to any platform.


Blockchain application inserted several hundreds of data in Blockchain ledger . Specifically, when search by id , then Chaincode returns an empty response. However, when Chaincode queries the history by key, then Blockchain returns historyByKey response i.e. contains valid response in payload, which concludes record is not deleted.

Null Payload for current state of Key

Rest proxy call:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.