Exception: Anthropic::Models::Beta::Organization::BetaStorageProfileStillRequiredError

Inherits:
Errors::BadRequestError show all
Defined in:
lib/anthropic/models/beta/organization/beta_storage_profile_still_required_error.rb,
sig/anthropic/models/beta/organization/beta_storage_profile_still_required_error.rbs

Overview

This storage is bound to a different user profile from storage the Workspace has attached, or from active or draining storage it once had for safeguards data. Detaching storage the Workspace uses only for transcripts clears this. Detaching safeguards storage doesn't, so use a new Workspace instead.

Constant Summary

Constants inherited from Errors::BadRequestError

Errors::BadRequestError::HTTP_STATUS

Instance Attribute Summary

Attributes inherited from Errors::APIStatusError

#status

Attributes inherited from Errors::APIError

#body, #headers, #status, #url

Attributes inherited from Errors::Error

#cause

Instance Method Summary collapse

Methods inherited from Errors::APIStatusError

#`type`, #api_message, for, #initialize, #type

Methods inherited from Errors::APIError

#initialize, #request_id, #workspace_id

Constructor Details

This class inherits a constructor from Anthropic::Errors::APIStatusError

Instance Method Details

#details ⇒ Anthropic::Models::Beta::Organization::BetaStorageProfileStillRequiredErrorDetails



16
17
18
19
20
21
# File 'lib/anthropic/models/beta/organization/beta_storage_profile_still_required_error.rb', line 16

def details
  Anthropic::Internal::Type::Converter.coerce(
    Anthropic::Beta::Organization::BetaStorageProfileStillRequiredErrorDetails,
    Anthropic::Internal::Util.dig(body, [:error, :details])
  )
end

#error_code ⇒ Symbol, :storage_profile_still_required

Returns:

  • (Symbol, :storage_profile_still_required)


# File 'lib/anthropic/models/beta/organization/beta_storage_profile_still_required_error.rb', line 12