Skip to content

Wildcard Items Cause Client Error For Root TLD Interaction #1251

@tweidinger

Description

@tweidinger

I am getting the following error for any interaction that is fetched from the server via the client binary:

[ERR] Could not unmarshal interaction data interaction: readObjectStart: expect { or n, but found , error found in #0 byte of ...||..., bigger context ...||...

I tracked the error down to this conditional block:

// handle root-tld data if any
for _, data := range response.TLDData {
interaction := &server.Interaction{}
if err := jsoniter.UnmarshalFromString(data, interaction); err != nil {
gologger.Error().Msgf("Could not unmarshal interaction data interaction: %v\n", err)
continue
}

I am using the dev branch due to the fix for #1210 but this causes client side issues (both for latest release client and dev branch client).
The interaction data is written/shown and can be used but it seems to affect root tld interactions.

Metadata

Metadata

Assignees

Labels

Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions