Skip to main content
  • Google device provisioning services
/
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
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 2024-08-07 UTC.

  • Product Info

    • Terms of Service
    • Usage Limits
    • Pricing
  • 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号
  • Manage cookies
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어