android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: datasets.identity_id, datasets.dataset_name (code 2067)

GitHub | jukka-palomaki | 3 months ago
  1. 0

    GitHub comment 79#243995568

    GitHub | 3 months ago | jukka-palomaki
    android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: datasets.identity_id, datasets.dataset_name (code 2067)
  2. 0

    Got the below error ,

    GitHub | 2 years ago | nagendraksrivastava
    android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: rush_com_cc_dailyrounds_response_CaseListResponse_rush_com_cc_dailyrounds_response_User_details_user_details.rush_id (code 1555)
  3. 0

    SQLiteConstraintException

    GitHub | 3 years ago | 7wonders
    android.database.sqlite.SQLiteConstraintException: foreign key constraint failed (code 19)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed

    Stack Overflow | 5 years ago | newone
    android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed
  6. 0

    Crash in SQLite Insert "Column are not unique"

    Stack Overflow | 5 years ago | Omar
    android.database.sqlite.SQLiteConstraintException: columns SuraNumber, AyaNumber are not unique: INSERT INTO Favorite_Sura (SuraNumber,AyaNumber) VALUES (17,1)

  1. Agócs Tamás 3 times, last 8 months ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.database.sqlite.SQLiteConstraintException

    UNIQUE constraint failed: datasets.identity_id, datasets.dataset_name (code 2067)

    at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount()
  2. Android Platform
    SQLiteDatabase.execSQL
    1. android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
    2. android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:904)
    3. android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
    4. android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
    5. android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1814)
    6. android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1793)
    6 frames
  3. AWS SDK for Android
    CognitoSyncManager$1.identityChanged
    1. com.amazonaws.mobileconnectors.cognito.internal.storage.SQLiteLocalStorage.changeIdentityId(SQLiteLocalStorage.java:741)
    2. com.amazonaws.mobileconnectors.cognito.CognitoSyncManager$1.identityChanged(CognitoSyncManager.java:135)
    2 frames
  4. AWS SDK for Java - Core
    AWSBasicCognitoIdentityProvider.refresh
    1. com.amazonaws.auth.AWSAbstractCognitoIdentityProvider.identityChanged(AWSAbstractCognitoIdentityProvider.java:260)
    2. com.amazonaws.auth.AWSAbstractCognitoIdentityProvider.getIdentityId(AWSAbstractCognitoIdentityProvider.java:175)
    3. com.amazonaws.auth.AWSAbstractCognitoIdentityProvider.refresh(AWSAbstractCognitoIdentityProvider.java:313)
    4. com.amazonaws.auth.AWSBasicCognitoIdentityProvider.refresh(AWSBasicCognitoIdentityProvider.java:77)
    4 frames
  5. com.amazonaws.mobile
    IdentityManager$AWSRefreshingCognitoIdentityProvider.refresh
    1. com.amazonaws.mobile.user.IdentityManager$AWSRefreshingCognitoIdentityProvider.refresh(IdentityManager.java:110)
    1 frame
  6. AWS SDK for Java - Core
    CognitoCachingCredentialsProvider.refresh
    1. com.amazonaws.auth.CognitoCredentialsProvider.startSession(CognitoCredentialsProvider.java:561)
    2. com.amazonaws.auth.CognitoCredentialsProvider.refresh(CognitoCredentialsProvider.java:527)
    3. com.amazonaws.auth.CognitoCachingCredentialsProvider.refresh(CognitoCachingCredentialsProvider.java:463)
    3 frames
  7. com.amazonaws.mobile
    IdentityManager$2.run
    1. com.amazonaws.mobile.user.IdentityManager.refreshCredentialWithLogins(IdentityManager.java:399)
    2. com.amazonaws.mobile.user.IdentityManager.access$200(IdentityManager.java:38)
    3. com.amazonaws.mobile.user.IdentityManager$2.run(IdentityManager.java:418)
    3 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    5. java.lang.Thread.run(Thread.java:818)
    5 frames