Benchling · Schema

ForbiddenRestrictedSampleError

Life SciencesBiotechR&DMolecular BiologyLaboratory Information ManagementElectronic Lab NotebookAssay ManagementInventory ManagementSequence ManagementExperiment WorkflowsRESTWebhooks

Properties

Name Type Description
error object
View JSON Schema on GitHub

JSON Schema

ForbiddenRestrictedSampleError.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/ForbiddenRestrictedSampleError.json",
  "title": "ForbiddenRestrictedSampleError",
  "properties": {
    "error": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BaseError"
        },
        {
          "properties": {
            "invalidIds": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "type": {
              "enum": [
                "invalid_request_error"
              ],
              "type": "string"
            }
          }
        },
        {
          "example": {
            "invalidIds": [
              "Q6uhNZvw",
              "con_OwmERWGE",
              "con_zuDFhNvz"
            ],
            "message": "You're not a restricted sample user for some items.",
            "type": "invalid_request_error",
            "userMessage": "You're not a restricted sample user for some items."
          }
        }
      ]
    }
  },
  "type": "object"
}