AmazonSageMaker; Status Code: 400; Error Code: ThrottlingException

0

Hi Team,

Our Sagemaker jobs are getting failed with error in Stepfunction "Rate exceeded (Service: AmazonSageMaker; Status Code: 400; Error Code: ThrottlingException; Request ID: 079cf4e7-db4f-4278-b49c-8d28ebb5c1fe; Proxy: null)" When checked in logs found, TypeError: can only concatenate str (not "flot") to str

Tried increasing the Service Quota, Maximum number of concurrent AutoML Jobs and Maximum total concurrency that can be allocated across all serverless endpoints But these are still under Quota requested state?

I believe we need to increase throttling Quota limit, as due to multiple concurrence jobs Warnings are crossing the limit and the whole job is failing. Could you please help me how to increase this and how much to.

If not the Quota limit issue, do we need to make changes in the code, because of any upgraded at AWS, https://repost.aws/knowledge-center/sagemaker-python-throttlingexception

Please let me know, what exactly the issue and its resolution.

Would be great help if replied sooner.

Thanks! Sadiq

1 回答
0

Hi Sadiq,

Re can only concatenate str (not "flot"), it's probably an issue in your code: your probably have somewhere a string like "this is a number" that you concatenate with a float with + directly instead of doing string + str(float).

Fixing with str() should remove the log that you see. It may also remove the throttling error that get: depending on where the str(float) is missing, it may trigger boto3 retries (as suggested by the article that you point to) and create the excessive rate that is throttled.

Best,

Didier

profile pictureAWS
专家
已回答 8 个月前
  • Thanks for quick reply Didier, These jobs where running smooth since last months, with the same code. So wanted to rerun the job with Quota increase, but it is taking time for approval.

    Looking forward for help on this!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则