This API works as expected with attached CSV file.
{
"success": true,
"task": {
"type": "QUARTZ",
"id": "e10a64e2031d4950baa162961e1b9040",
"name": "Cloud Account Aggregation",
"description": "Aggregates from the specified application.",
"parentName": null,
"launcher": "rohit.wekhande",
"created": 1733501811819,
"launched": 1733501811822,
"completed": null,
"completionStatus": null,
"messages": [],
"returns": [
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_APPLICATIONS",
"attributeName": "applications"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_TOTAL",
"attributeName": "total"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_OPTIMIZED",
"attributeName": "optimizedAggregation"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_IGNORED",
"attributeName": "ignored"
},
{
"displayLabel": "TASK_OUT_UNCHANGED_ACCOUNTS",
"attributeName": "optimized"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_CREATED",
"attributeName": "created"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_UPDATED",
"attributeName": "updated"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_DELETED",
"attributeName": "deleted"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_MANAGER_CHANGES",
"attributeName": "managerChanges"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_BUSINESS_ROLE_CHANGES",
"attributeName": "detectedRoleChanges"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_EXCEPTION_CHANGES",
"attributeName": "exceptionChanges"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_POLICIES",
"attributeName": "policies"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_POLICY_VIOLATIONS",
"attributeName": "policyViolations"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_POLICY_NOTIFICATIONS",
"attributeName": "policyNotifications"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCORES_CHANGED",
"attributeName": "scoresChanged"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SNAPSHOTS_CREATED",
"attributeName": "snapshotsCreated"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCOPES_CREATED",
"attributeName": "scopesCreated"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCOPES_CORRELATED",
"attributeName": "scopesCorrelated"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCOPES_SELECTED",
"attributeName": "scopesSelected"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_SCOPES_DORMANT",
"attributeName": "scopesDormant"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_UNSCOPED_IDENTITIES",
"attributeName": "unscopedIdentities"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_CERTIFICATIONS_CREATED",
"attributeName": "certificationsCreated"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_CERTIFICATIONS_DELETED",
"attributeName": "certificationsDeleted"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_APPLICATIONS_GENERATED",
"attributeName": "applicationsGenerated"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_MANAGED_ATTRIBUTES_PROMOTED",
"attributeName": "managedAttributesCreated"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_MANAGED_ATTRIBUTES_PROMOTED_BY_APP",
"attributeName": "managedAttributesCreatedByApplication"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_IDENTITYENTITLEMENTS_CREATED",
"attributeName": "identityEntitlementsCreated"
},
{
"displayLabel": "TASK_OUT_ACCOUNT_AGGREGATION_GROUPS_CREATED",
"attributeName": "groupsCreated"
}
],
"attributes": {
"creatorRequestId": "89a59928cf5b4b499a47289514ed5cd4",
"eventId": -1,
"creatorStack": "diana",
"appId": "242fe86cd5854235abd57e0e9e2d25c5",
"optimizedAggregation": "enabled",
"creatorSpanId": "a580838ea52c4acd9a06361f97b5ebfc"
},
"progress": null
}
}
But, now the question remains that even if the file is correct, why the 500 exception is getting thrown?