-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling permission error when describing task definition #140
Comments
Hi @sota1235 & thanks for your issue description! If I remember correctly, the error identification in boto3 is not too transparent, and some specific cases would need to be parsed from the error message (text) or are even not specifically identifiable. But there is a good chance, that this changed by now. I agree, that the described scenario can be misleading, as the error message suggests, that the TD does not exist - independent from permissions. I have two follow up questions:
Thanks! |
I was facing the same issue. I solved adding |
Hello
I'm one of the developer using this awesome software.
When I tried to use this software in my software, I faced the problem below.
--task
optionAs a result of my investigation, the cause is
UnknownTaskDefinitionError
So, my proposal is here.
ClientError
, parse that error and if it's permission error, change error messageIf you need, I can send a PR. But before that, I want to hear feedback for my proposal.
Best,
The text was updated successfully, but these errors were encountered: