Skip to content

Out of date API client #23

Description

@Kolterdyx

I updated my standalone Otari gateway service to the latest version (a660931cde009af4df6f2c9399c3df2cac0d3812) and the SDK method for getting a user fails with the following error:

user, _, err := controlPlane.Users.Get(ctx, userID)
// err -> json: unknown field "allowed_models"

This is due to the generated API models being out of date and missing the allowed_models field and the json decoder being configured to disallow unknown fields.

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