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

已提問 8 個月前檢視次數 362 次
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!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南