Skip to main content

Error Handling

Zuora
  • 日本語のコンテンツは機械翻訳されており、補助的な参照を目的としています。機械翻訳の精度は保証できません。英語版が正となります。また、現時点では検索機能は日本語での検索をサポートしていません。翻訳に関するフィードバックについては、docs@zuora.comに送信してください。

  • US Data Center Customers: The SOAP API is no longer under active development. The legacy SOAP calls still function, but are now also available in REST.

    EU Data Center Customers: The SOAP API is not available. Please use the REST API.

    APAC Data Center Customers: The SOAP API is not available. Please use the REST API.

    Going forward, new features will only be available through the REST API. We strongly recommend that all integrations are done using the REST API.

    You can find the REST API documentation at https://www.zuora.com/developer/.

Error Handling

Overview

Zuora handles exceptions using fault elements and the Error object.

If any parameters are invalid, then Zuora returns the appropriate fault codes with the names of the fields that caused the exception. If a required field was omitted in the call, then that field name with the required field code is returned. If a field value doesn't match a defined value, such as the payment term string value, then an error is returned.

If a call that processes credit cards fails, then a separate fault is returned that indicates a credit card processing failure and provides details about the failure.

Errors and faults

The term, error, refers to anything that goes wrong, but Zuora makes a distinction between errors and faults.

An error is a problem that occurs when part of the call fails. The parts of the call that succeed are processed. The parts of the call that fail return error codes that indicate what failed.

A fault is a call-level error that results in the call failing completely. No part of the call succeeds, and no part of the call is processed. The call is invalid, and it returns a fault.



 

English
日本語