Skip to content

500 Error on identifiers.get(alias) for AIDs created with algo: extern #415

@yeomjaeseung

Description

@yeomjaeseung

Version

main, GLEIF-IT/v0.3.0

After successfully creating an AID with algo: extern and confirming that the inception is correctly recorded on the witness network via its prefix, I call client.identifiers().get(alias) to retrieve the identifier's metadata. However, instead of receiving the expected metadata, the call returns a 500 Internal Server Error. This error occurs even though the witness KEL is valid and the prefix lookup works perfectly,

[TEST 1] Lookup by ALIAS: "testV1"
❌ Alias Lookup Failed:
Status: undefined, Message: "HTTP GET /identifiers/testV1 - 500 Internal Server Error - {"title": "500 Internal Server Error"}"

[TEST 2] Lookup by PREFIX: "EHJrAyxB4iQylScLdBJR1LntkbzbbeQgc20zqtKoYlqj"
✅ Prefix Lookup Success!
Sequence Number: 0
Current Key : DHHHdqqTEP5aQpmeQ3okXnpV4TYavA89IQh43HphRwTy

Steps to reproduce

  1. Initialize a SignifyClient and inject a custom external module for Ed25519 signing (e.g., using AWS HSM).

  2. Create a new AID on the GLEIF Testnet using identifiers().create() with algo: "extern" and a custom extern_type.

  3. Verify that the inception event is successfully recorded on the GLEIF Testnet witnesses by querying with the AID prefix.

  4. Call client.identifiers().get(alias) using the alias assigned during the creation step.

  5. Observe that the agent returns a 500 Internal Server Error instead of the identifier metadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions