Hi,
I’m trying to create an analysis based on another analysis, for testing purposes. From the original analysis I retrieved the JSON by running the describe_analysis_definition function.
original = call.describe_analysis_definition(AwsAccountId, AnalysisId)
When creating the new analysis, I’m passing as parameters:
call.create_analysis(
AwsAccountId=My_AWS_account,
AnalysisId=‘DummyAnalysis’,
Name=‘DummyAnalysis’,
Permissions=Permissions,
Definition=original[‘Definition’],
ThemeArn=original[‘ThemeArn’]
)
- Permissions is the list of permissions the original analysis has.
I receive the status 202 saying it’s being created, but when I run a call.describe_analysis it says the analysis failed with the following error message:
‘Errors’: [{‘Type’: ‘INTERNAL_FAILURE’, ‘Message’: ‘An error occurred while processing the request’}]
Now, my doubt is if I need to pass some other parameters, such as
- SourceEntity (which I assumed would come from the Definitions)
- Parameters (the list of parameters within the original analysis)
or is this something else?