You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error(
message = Cannot return null for non-nullable field Redeemer.scriptHash.,
locations = [Location(line = 1, column = 115)],
customAttributes = {path=[transactions, 0, redeemers, 0, scriptHash],
extensions={
code=INTERNAL_SERVER_ERROR,
exception={
stacktrace=[
Error: Cannot return null for non-nullable field Redeemer.scriptHash.,
at completeValue (/app/node_modules/graphql/execution/execute.js:560:13),
at completeValueCatchingError (/app/node_modules/graphql/execution/execute.js:495:19),
at resolveField (/app/node_modules/graphql/execution/execute.js:435:10),
at executeFields (/app/node_modules/graphql/execution/execute.js:275:18),
at collectAndExecuteSubfields (/app/node_modules/graphql/execution/execute.js:713:10),
at completeObjectValue (/app/node_modules/graphql/execution/execute.js:703:10),
at completeValue (/app/node_modules/graphql/execution/execute.js:591:12),
at completeValueCatchingError (/app/node_modules/graphql/execution/execute.js:495:19),
at /app/node_modules/graphql/execution/execute.js:618:25,
at Array.forEach (<anonymous>)
]
}
}
})
@alecalve Sorry for the very late reply. I started to reproduce the error, but still can't manage to get the same error message.
When querying your example request I get the following response: { "data": { "transactions": [ { "redeemers": [ { "scriptHash": null } ] } ] } }
In CardanoScan I see that there is a contract, but the data is null as well.
So the response I get seems correct (I double checked it on db-sync database level).
If the data is wrong it might be a problem for db-sync.
Did you manage to find the issue for your problem?
Summary
This error happened first when querying this transaction with the following GraphQL query:
Steps to reproduce the bug
Run the query against a Cardano graphql instance
Actual Result
See the following error:
Expected Result
We'd expect to get a successful output.
Environment
Platform
Platform version
No response
Runtime
Runtime version
No response
The text was updated successfully, but these errors were encountered: