Skip to content

GetOrganizations API is returning unmarshal error #218

@bigdatasourav

Description

@bigdatasourav

Description
The GetOrganizations returns a list of members, but the API is returning the below error -

Error: json: cannot unmarshal object into Go value of type []hub.Member (SQLSTATE HV000)

Steps to reproduce the issue:

  1. Execute the GetOrganizations API.

Describe the results you received:
Error: json: cannot unmarshal object into Go value of type []hub.Member (SQLSTATE HV000)

Describe the results you expected:
The API should return the list of members.

Additional information you deem important (e.g. issue happens only occasionally):

Output of hub-tool --version:

(paste your output here)

Output of docker version:

(paste your output here)

Output of docker info:

(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions