• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    StorageError

    Error codes returned by Storage operations (SetValue, GetValue, UpdateValue, etc.). Check for StorageError.None to confirm successful operations.

    Available on: Server scripts only

    Properties

    The attributes data exceeds the maximum size limit. Keep attribute data small for search efficiency.

    Another operation modified the same key simultaneously. Use UpdateValue instead of SetValue for atomic updates to prevent this. Retry the operation with the latest value.

    CursorInvalid

    ServerOnly
    ReadOnly

    The cursor ID provided to Search operations is invalid or expired. Start from the beginning with a nil cursor.

    The limit parameter for Search operations is invalid (too high or too low). Typical valid range is 1-100.

    No more values available for the cursor in Search operations. You've reached the end of the results.

    InternalError

    ServerOnly
    ReadOnly

    An internal server error occurred. Retry the operation.

    The attributes provided are invalid or incorrectly formatted. Used with SearchValue operations.

    InvalidKey

    ServerOnly
    ReadOnly

    The storage key is invalid or contains illegal characters. Keys should be alphanumeric with underscores/hyphens. Maximum key length is typically 128 characters.

    InvalidValue

    ServerOnly
    ReadOnly

    The value type is not supported for storage. Only strings, numbers, booleans, tables, Vector2, Vector3, and Quaternion are supported.

    The modifier function's owner object was destroyed during UpdateValue. Ensure the script object remains valid during asynchronous operations.

    None

    ServerOnly
    ReadOnly

    Operation completed successfully with no errors.

    Too many storage requests sent too quickly. Wait before retrying. Rate limiting is in effect to prevent abuse and ensure performance.

    Timeout

    ServerOnly
    ReadOnly

    The operation timed out before completing. Retry the operation or check network connectivity.

    Too many storage updates have been queued. Wait for pending operations to complete before queuing more. Consider batching updates or spacing them out.

    UnknownError

    ServerOnly
    ReadOnly

    An unknown error occurred. Check server logs for details.

    ValueTooLarge

    ServerOnly
    ReadOnly

    The value exceeds the maximum storage size limit. Typical limit is 64KB per value. Consider splitting large data.

    Updated 13 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.