:doc:`mgn <../../mgn>` / Client / list_import_errors

******************
list_import_errors
******************



.. py:method:: mgn.Client.list_import_errors(**kwargs)

  

  List import errors.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListImportErrors>`_  


  **Request Syntax**
  ::

    response = client.list_import_errors(
        importID='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type importID: string
  :param importID: **[REQUIRED]** 

    List import errors request import id.

    

  
  :type maxResults: integer
  :param maxResults: 

    List import errors request max results.

    

  
  :type nextToken: string
  :param nextToken: 

    List import errors request next token.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'items': [
              {
                  'errorDateTime': 'string',
                  'errorType': 'VALIDATION_ERROR'|'PROCESSING_ERROR',
                  'errorData': {
                      'sourceServerID': 'string',
                      'applicationID': 'string',
                      'waveID': 'string',
                      'ec2LaunchTemplateID': 'string',
                      'rowNumber': 123,
                      'rawError': 'string',
                      'accountID': 'string'
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      List imports errors response.

      
      

      - **items** *(list) --* 

        List imports errors response items.

        
        

        - *(dict) --* 

          Import task error.

          
          

          - **errorDateTime** *(string) --* 

            Import task error datetime.

            
          

          - **errorType** *(string) --* 

            Import task error type.

            
          

          - **errorData** *(dict) --* 

            Import task error data.

            
            

            - **sourceServerID** *(string) --* 

              Import error data source server ID.

              
            

            - **applicationID** *(string) --* 

              Import error data application ID.

              
            

            - **waveID** *(string) --* 

              Import error data wave id.

              
            

            - **ec2LaunchTemplateID** *(string) --* 

              Import error data ec2 LaunchTemplate ID.

              
            

            - **rowNumber** *(integer) --* 

              Import error data row number.

              
            

            - **rawError** *(string) --* 

              Import error data raw error.

              
            

            - **accountID** *(string) --* 

              Import error data source account ID.

              
        
      
    
      

      - **nextToken** *(string) --* 

        List imports errors response next token.

        
  
  **Exceptions**
  
  *   :py:class:`mgn.Client.exceptions.UninitializedAccountException`

  
  *   :py:class:`mgn.Client.exceptions.ValidationException`

  