SAP Knowledge Base Article - Public

3676163 - Unexpected errors during import job execution in sap analytics cloud happen

Symptom

  • {errorDetails":"Import to model terminated unexpectedly. Error code: 5007";"importStatus":"ERROR"}
  • {errorDetails":"Import to model terminated unexpectedly. Error code: 5007";"importStatus":"ERROR"}
  • {errorDetails":"Import to model failed while updating dimension members. Error code: 5021";"importStatus":"ERROR"}
  • {errorDetails":"Data check terminated unexpectedly. Error code: 1031";"importStatus":"ERROR"}
  • {errorDetails":"An unexpected error occurred while attempting to update dimension data.";"jobStatus":"ERROR"}

Environment

  • SAP Analytics Cloud 2025.14.22 (Client)
  • SAP Analytics Cloud 2025.14.21 (Server)

Reproducing the Issue

  1. Execute an import job in SAP Analytics Cloud.
  2. Observe the occurrence of "unexpected error" during the import job execution.
  3. From the HAR trace, below errors can be confirmed intermittently:{errorDetails":"Import to model terminated unexpectedly. Error code: 5007";"importStatus":"ERROR"}
    {errorDetails":"Import to model terminated unexpectedly. Error code: 5007";"importStatus":"ERROR"}
    {errorDetails":"Import to model failed while updating dimension members. Error code: 5021";"importStatus":"ERROR"}
    {errorDetails":"Data check terminated unexpectedly. Error code: 1031";"importStatus":"ERROR"}
    {errorDetails":"An unexpected error occurred while attempting to update dimension data.";"jobStatus":"ERROR"}

  4. Review the backend logs for error codes such as "STATEMENT_MEMORY_LIMIT", "Error Code: 5021", and "Error Code: 5005".

Cause

This issue is currently under investigation of development team.

Resolution

This issue is currently under investigation of development team.

Keywords

sap analytics cloud, import job error, unexpected error, statement memory limit, error code 5021, error code 5005, dimension data update, import data connections, acquiring data, memory allocation failure, query compilation error, import job execution , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem

Product

SAP Analytics Cloud all versions