Skip to content

Failure when importing a store file with more than 100 assertions #618

@aaguiarz

Description

@aaguiarz

When you try importing a store that generates more than 100 assertions, you get this error

% fga store import --file ~/gh/authzen-interop/search/authzen-search.fga.yaml

Error: failed to import store: failed to import assertions: PUT validation error for WriteAssertions PUT with body {"code":"assertions_too_many_items","message":"invalid WriteAssertionsRequest.Assertions: value must contain no more than 100 item(s)"}
 with error code assertions_too_many_items error message: invalid WriteAssertionsRequest.Assertions: value must contain no more than 100 item(s)

The CLI should batch them in sets of 100.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Intake

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions