• Google device provisioning services
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Français
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
Home Guides Reference Support
  • Google device provisioning services
  • Home
  • Guides
  • Reference
  • Support
  • Reseller API
  • Overview
  • v1
    • REST Resources
    • operations
      • Overview
      • get
    • partners.customers
      • Overview
      • create
      • list
    • partners.devices
      • Overview
      • claim
      • claim​Async
      • find​By​Identifier
      • find​By​Owner
      • get
      • metadata
      • unclaim
      • unclaim​Async
      • update​Metadata​Async
    • partners.vendors
      • Overview
      • list
    • partners.vendors.customers
      • Overview
      • list
    • Types
    • Batch​Processing​Status
    • Custom​Error
    • Custom​Error​Code
    • Devices​Long​Running​Operation​Metadata
    • Devices​Long​Running​Operation​Response
    • Per​Device​Status
    • Wait​Operation​Request
  • Common Android Reseller Library
  • Overview
  • Factory classes
  • Objects
  • Methods
    • Overview
    • claimDevice
    • claimDevicesAsync
    • createCustomer
    • findDevicesByDeviceIdentifier
    • findDevicesByOwner
    • getOperation
    • listCustomers
    • listOperations
    • unclaimDevice
    • unclaimDevicesAsync
  • Customer API
  • Overview
  • v1
    • REST Resources
    • customers
      • Overview
      • list
    • customers.configurations
      • Overview
      • create
      • delete
      • get
      • list
      • patch
    • customers.devices
      • Overview
      • apply​Configuration
      • get
      • list
      • remove​Configuration
      • unclaim
    • customers.dpcs
      • Overview
      • list
    • Types
    • Custom​Error
    • Custom​Error​Code
    • Device​Reference
    • Tos​Error
  • Other resources
  • Android manufacturer names
  • ChromeOS model values
  • Known issues
  • Home
  • Products
  • Google device provisioning services
  • Reference

CustomError

  • JSON representation

Custom error.

JSON representation
{
  "code": enum (CustomErrorCode),
  "message": string
}
Fields
code

enum (CustomErrorCode)

The custom error code.

message

string

The error message.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-11-30 UTC.

  • Product Info

    • Terms of Service
    • Usage Limits
    • Pricing
  • Programs

    • Women Techmakers
    • Google Developer Groups
    • Google Developers Experts
    • Accelerators
    • Google Developer Student Clubs
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Français
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어