I am trying to create an analysis out of another analysis by substituting the datasets used (same structure as datasets in org analysis). I use the operation below:
When I call this operation I get: botocore.exceptions.ClientError: An error occurred (InternalFailure) when calling the CreateAnalysis operation (reached max retries: 4): None
Any idea on what is going wrong here? In the parameter âDefinitionâ in create_analysis API call I use the one shown in pic
Hi @Fotis_flex Thanks for reaching out. I have pinged one of our Solution Architects to ask them to take a look at this for you on Monday.
If you continue to see this error, I would recommend filing a case with AWS Support where we can dive into the details so that we can help you further. Here are the steps to open a support case. If your company has someone who manages your AWS account, you might not have direct access to AWS Support and will need to raise an internal ticket to your IT team or whomever manages your AWS account. They should be able to open an AWS Support case on your behalf. Hope this helps!
Hi @Ashok No Itâs the first time I attempt to create an analysis using API. How can I check if I have permission to perform CreateAnalysis operation?
I followed exactly the steps you mentioned but still I get the same error! Why? Is it related with my permissions? I am the admin
Hi @Ashok . I just checked my AWS permissions and I have âAdministratorAccessâ so I should be able to perform all operations. I am using boto3 API for many other operations (create_datasets, describe and updated analysis etcâŚ) However, I still get the above error I mentioned! Cannot explain it. Any other ideas perhaps?
Since you tried the steps and even creation of simple analysis using API is failing, I would recommend creating a support. steps to open support case is available in @Kristin post above.
Hi @Ashok , I am afraid I donât have aws support plan.
Do you think my initial request syntax and parameters are correct? I am worried about the Definition=analysis_definition because there I place the whole analysis description I get from the describe_analysis api and substituting the datasets arnâs. Should I perhaps switch to a template ? Can you maybe specify the request syntax of the create_analysis with boto3? And what should I put in every parameter? For e.g, I nowhere use the SourceEntity
Thx
Based on steps provided by @Ashok , I am able to create an analysis .
Maybe you can try using the template method and see if it works : Workshop Studio
Hi @Fotis_flex, thank you for letting us know. I would recommend filing a case with AWS Support where we can dive into the details so that we can help you further. Here are the steps to open a support case. If your company has someone who manages your AWS account, you might not have direct access to AWS Support and will need to raise an internal ticket to your IT team or whomever manages your AWS account. They should be able to open an AWS Support case on your behalf. Hope this helps!â