• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    StorageError

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

    Properties

    None

    number
    ServerOnly

    The Storage function completed successfully.

    InternalError

    number
    ServerOnly

    A server error occurred.

    RequestThrottled

    number
    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.

    InvalidKey

    number
    ServerOnly

    The key must be 128 characters or less.

    InvalidValue

    number
    ServerOnly

    The value was not valid.

    ValueTooLarge

    number
    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.

    ConcurrentModification

    number
    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.

    CursorInvalidLimit

    number
    ServerOnly

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

    CursorInvalid

    number
    ServerOnly

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

    UnknownError

    number
    ServerOnly

    An unexpected error occurred.

    Timeout

    number
    ServerOnly

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

    Updated 6 months ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.