Skip to content

[bug]: ListBatches REST error #1817

@darioAnongba

Description

@darioAnongba

Background

When querying ListBatches on REST, an error occurs and the server returns a 404.

Your environment

tapd 0.7.0-rc1

Steps to reproduce

Use REST instead of gRPC for the calls. Import Swagger JSON into Postman or directly query the server

  • Mint an asset
  • Get the batch_key
  • Call /v1/taproot-assets/assets/mint/batches/{batch_key}?verbose=true

Expected behavior

Returns the pending batch

Actual behavior

Error on tapd: ERROR: Failed to extract ServerMetadata from context
Returns a 404:

{
    "code": 5,
    "message": "Not Found",
    "details": []
}

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