cardano-graphql icon indicating copy to clipboard operation
cardano-graphql copied to clipboard

Cannot return null for non-nullable field TransactionMetadata.value

Open astudnev opened this issue 3 years ago • 9 comments

{
          blocks(where: {_and: [{number: {_gte: 6123430}}, {number: {_lt: 6123615}}]}, order_by: {number: asc}) {
            number
            hash
            size
            epochNo
            fees
            transactionsCount
            opCert
            slotInEpoch
            slotNo
            forgedAt
            slotLeader {
              description
              hash
            }
            protocolVersion
            vrfKey

            transactions {
              blockIndex
              hash
              size
              deposit
              fee
              totalOutput
              invalidBefore
              invalidHereafter
              includedAt
              metadata {
                key
                value
              }
              inputs {
                address
                value
                sourceTxHash
                sourceTxIndex
                sourceTransaction {
                  block {
                    number
                  }
                }
                tokens {
                  quantity
                  asset {
                    assetName
                    decimals
                    description
                    fingerprint
                    name
                    policyId
                    ticker
                  }
                }
              }

              outputs {
                address
                index
                value
                tokens {
                  quantity
                  asset {
                    assetName
                    decimals
                    description
                    fingerprint
                    name
                    policyId
                    ticker
                  }
                }
              }

              withdrawals {
                address
                amount
              }

              mint {
                quantity
                asset {
                  assetName
                  decimals
                  description
                  fingerprint
                  name
                  policyId
                  ticker
                }
              }

            }

          }
        }

returns error

message => Cannot return null for non-nullable field TransactionMetadata.value.

astudnev avatar Nov 20 '21 04:11 astudnev

I have the same issue with block 6123581.

cardano_fullnode_version: "1.30.1"
cardano_fullnode_db_sync_version: "11.0.4"
cardano_fullnode_db_explorer_api_version: "3.1.2"
cardano_fullnode_graphql_version: "6.0.0"
cardano_fullnode_ogmios_version: "v4.1.0-mainnet"

alecalve avatar Nov 26 '21 08:11 alecalve

Hi, I'm facing this issue: Error: ClientError: Cannot return null for non-nullable field Token.asset Some of block numbers are 8208751, 8216194

aqibbim avatar Jan 12 '23 10:01 aqibbim

Same problem here. any updates?

soichisumi avatar Feb 10 '23 23:02 soichisumi

Same here with v7.0.2. It looks release 8.0.0 has changes related to asset table. Could graphql v8.0.0 solve or mitigate this issue?

sokiaoba avatar Feb 13 '23 08:02 sokiaoba

I assume this is related to data synchronization of cardano-graphql. Is there any chance using cardano-graphql-background can mitigate this issue?

sokiaoba avatar Mar 08 '23 09:03 sokiaoba

Getting the similar issue with v8.0.0. It looks like assets were not syncing to the latest and clearly it takes like forever to sync. https://github.com/input-output-hk/cardano-graphql/issues/801#issuecomment-1475303136

siegfried avatar Mar 20 '23 19:03 siegfried

This is still an issue v8.0.0, is still on anyone's radar? @rhyslbw @johnalotoski ?

profd2004 avatar Mar 21 '23 14:03 profd2004

I'm having this issue too

jmagan avatar May 09 '23 10:05 jmagan

on v8.0.0. having this issue also

semsorock avatar Nov 28 '23 16:11 semsorock