• Studio

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • StorageError

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

    Properties

    None

    number

    ServerOnly

    The Storage function completed successfully.

    ServerOnly

    A server error occurred.

    ServerOnly

    Your world is sending requests too frequently. The limit for GetValue is 60 + (active players * 10) requests per minute. The limit for SetValue, IncrementValue and DeleteValue together is 60 + (active players * 10) requests per minute. The limit for SearchValue is 10 + (active players * 5) requests per minute. UpdateValue counts against both the GetValue and SetValue limits.

    ServerOnly

    The key must be 128 characters or less.

    ServerOnly

    The value was not valid.

    ServerOnly

    The maximum size for value for a value is 4mb. The value is converted before being saved, so it will not match the value parameter's size exactly.

    ServerOnly

    The data was modified by another world instance. If UpdateValue or UpdatePlayerValue will automatically retry when this error code is returned, if the callback receives this error code then the retry limit was exceeded.

    ServerOnly

    The limit passed to SearchValue and SearchPlayerValue must be 100 or less.

    ServerOnly

    The cursor ID passed to SearchValue or SearchPlayerValue was not valid.

    ServerOnly

    An unexpected error occurred.

    Timeout

    number

    ServerOnly

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

    Updated 3 months ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.