

# ErrorReason


An error that explains why an action did not succeed.

## Contents


 ** ErrorCode **   <a name="servicequotas-Type-ErrorReason-ErrorCode"></a>
Service Quotas returns the following error values:  
+  `DEPENDENCY_ACCESS_DENIED_ERROR` - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the AWS service or quota.
+  `DEPENDENCY_THROTTLING_ERROR` - The AWS service is throttling Service Quotas. 
+  `DEPENDENCY_SERVICE_ERROR` - The AWS service is not available.
+  `SERVICE_QUOTA_NOT_AVAILABLE_ERROR` - There was an error in Service Quotas.
Type: String  
Valid Values: `DEPENDENCY_ACCESS_DENIED_ERROR | DEPENDENCY_THROTTLING_ERROR | DEPENDENCY_SERVICE_ERROR | SERVICE_QUOTA_NOT_AVAILABLE_ERROR`   
Required: No

 ** ErrorMessage **   <a name="servicequotas-Type-ErrorReason-ErrorMessage"></a>
The error message.  
Type: String  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/service-quotas-2019-06-24/ErrorReason) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/service-quotas-2019-06-24/ErrorReason) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/service-quotas-2019-06-24/ErrorReason) 