Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8904141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:03:03+00:00 2026-06-15T02:03:03+00:00

I am using DynamoDB. I do scan operations from the app. Everything works perfect.

  • 0

I am using DynamoDB. I do scan operations from the app. Everything works perfect. After sometime, the response is coming as nil. But I am not receiving any exceptions. I enabled verbose logging using,

[AmazonLogger verboseLogging];

If the verbose logging is enabled, I can see some logs like,

“__type”:”com.amazonaws.dynamodb.v20111205#ProvisionedThroughputExceededException”,”message”:”The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API”

My code looks like this,

@try {
    DynamoDBScanRequest *request = /* Create request */;
    DynamoDBScanResponse *response = [[AmazonClientManager ddb] scan:request];
    /* 
     * response is nil if the provisioning throughput is exceeded 
     * and the all retries are over
     */
    ALog(@"Response: %@", response); 
    NSMutableArray *array = response.items;
    return array;
} @catch (NSException *exception) {
    /* 
     * I am expecting the  ProvisionedThroughputExceededException 
     * to be thrown here. But its not throwing here. Instead I get the response
     * as nil above.
     */
    ALog(@"Exception: %@", exception);
    return nil;
}

Am I doing it correct? Could someone help me please?

Thanks.

Edit: Could anyone give me a rough idea of how much throughput (both read/write) capacity to set for a QuestionAnswer table, with almost 10 fields like TopicID, QuestionID, Question, Answer, AskedAt, RepliedAt, QuestionType etc.,? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:03:04+00:00Added an answer on June 15, 2026 at 2:03 am

    I’ve tried a scan request with more read capacity units than provisioned, and I got AmazonClientException with a generic message: “Unknown error occurred.” We are working on a fix, and the next version should correctly return DynamoDBProvisionedThroughputExceededException in the described situation.

    You said the response becomes nil, but I was not able to reproduce the issue. Do you call [AmazonErrorHandler shouldNotThrowExceptions] to turn off the exceptions? When this option is turned on, the SDK won’t throw AmazonClientException and AmazonServiceException. It is also possible that you are using an older version of the SDK. Please try 1.4.4 and see if you get the exception. It is suboptimal, but at least you should be able to catch an exception when something goes wrong.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the C# Facebook SDK 5.0.3 everything works fine whit the client.Get(/me). But when
I want to transfer data(21M rows) from mysql database to DynamoDB. I am using
How do I paginate my results from DynamoDB using the Boto python library? From
I'm using boto to access a dynamodb table. Everything was going well until I
I want to do a scan on a table on dynamodb using boto, my
I'm trying to update a table in my DynamoDB tables using the PHP SDK.
I'm using the boto library in Python to connect to DynamoDB. The following code
I am trying to set up EMR workflow (with DynamoDB and Hive) using boto
Using mercurial, I've run into an odd problem where a line from one committer
I'm using DynamoDB to save my users and their passwords. Now I currently make

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.