• Studio

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • InventoryError

    Contains possible error codes that can be returned from Inventory functions.

    Properties

    None

    number

    ServerOnly

    The Inventory function completed successfully.

    ServerOnly

    A server error occurred.

    ServerOnly

    Your world is sending requests too frequently. The limit for GetItem is 60 + (active players * 10) requests per minute. The limit for GetItems is 10 + (active players * 5) requests per minute. The limit for CommitTransaction and RollbackTransaction together is 10 + (active players * 2) requests per minute.

    ServerOnly

    The item ID must be 128 characters or less.

    ServerOnly

    The holder ID must be 128 characters or less.

    ServerOnly

    The limit passed to GetItems must be 100 or less.

    ServerOnly

    The cursor ID passed to GetItems was not valid.

    ServerOnly

    The InventoryTransaction passed to CommitTransaction contained actions that could not be performed, such as using Take to remove more items than a player owns.

    ServerOnly

    The InventoryTransaction passed to CommitTransaction must contain 32 or fewer actions.

    NoActions

    number

    ServerOnly

    The InventoryTransaction passed to CommitTransaction did not contain any actions. You must call at least one of the functions of InventoryTransaction before calling CommitTransaction.

    ServerOnly

    An unexpected error occurred.

    Timeout

    number

    ServerOnly

    A response from the server was not received within the time limit.

    Updated 5 months ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.