cordova-plugin-dbcopy
                                
                                 cordova-plugin-dbcopy copied to clipboard
                                
                                    cordova-plugin-dbcopy copied to clipboard
                            
                            
                            
                        What's error code: 400?
When executing this on an Android device:
window.plugins.sqlDB.copy(QDB_NAME, 0, function (success) { }, function (error) { console.log("Error Code = " + JSON.stringify(error)); });
I get the following error:
Error Code = {"message":"www/Q4data.db","code":400}
So, what's the meaning of such code 400?
Hi, Can you install the plugin from github url? I have updated the message variable in that error. The error only comes when there is some problem in copying the database. You can also get more useful information in Android monitor or Android Studio logcat.
I'm using capacitor and got the same issue. I think it cannot find the www folder.