

# AccessDeniedException


You don't have sufficient access permissions to perform this operation. 

This exception occurs when your IAM user or role lacks the required permissions to access the Amazon Keyspaces resource or perform the requested action. Check your IAM policies and ensure they grant the necessary permissions.

HTTP Status Code returned: 400

## Contents


 ** message **   <a name="keyspaces-Type-AccessDeniedException-message"></a>
You don't have sufficient permissions to perform this action.  
Type: String  
Required: No

## See Also


For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/keyspacesstreams-2024-09-09/AccessDeniedException) 