Skip to content

GET /blocks/15426018 no results 500 error #1138

Closed
@xiaochisAmber

Description

@xiaochisAmber

I tried both my own deployed nodes and third-party nodes, but could not get the results

curl localhost:8080/blocks/15426018
{"code":500,"message":"createType(RuntimeDispatchInfo):: Struct: failed on weight: {"refTime":"Lookup9","proofSize":"Lookup9"}:: Struct: Cannot decode value 27549795 (typeof number), expected an input object, map or array","stack":"Error: createType(RuntimeDispatchInfo):: Struct: failed on weight: {"refTime":"Lookup9","proofSize":"Lookup9"}:: Struct: Cannot decode value 27549795 (typeof number), expected an input object, map or array\n at createTypeUnsafe (/usr/src/app/node_modules/@polkadot/types-create/cjs/create/type.js:67:18)\n at TypeRegistry.createTypeUnsafe (/usr/src/app/node_modules/@polkadot/types/cjs/create/registry.js:295:46)\n at RpcCore._formatOutput (/usr/src/app/node_modules/@polkadot/rpc-core/cjs/bundle.js:381:21)\n at RpcCore._formatResult (/usr/src/app/node_modules/@polkadot/rpc-core/cjs/bundle.js:209:27)\n at callWithRegistry (/usr/src/app/node_modules/@polkadot/rpc-core/cjs/bundle.js:235:19)\n at runMicrotasks ()\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","level":"error"}


curl -X GET \

https://svc.blockdaemon.com/kusama/mainnet/native/blocks/15426018
-H 'Authorization: Bearer '*****'
{
"status": 500,
"code": "500",
"title": "Internal Server Error",
"detail": "https://blockdaemon.com/documentation/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions