marius-wieschollek/passwords-webextension

Found invalid custom field error

Closed this issue · 4 comments

System Information

  • Extension Version: 2.1.0
  • App Version: 2021.2.0
  • Browser and Version: Firefox & Chrome
  • Client OS and Version: any

Steps to reproduce

  1. Start the browser
  2. Open the extension popup
  3. See the error message "Found invalid custom field error"

Expected result

No error message.

Actual result

Error message appears

If you have this error, please copy and post the error details below. Make sure to remove any private data from the result as the error details likely contain the data from the affected custom field.

Since the last update I've the same problem. I'm having about 10 to 20 error messages of this kind. You have to click them all away to be able to copy the password. Pretty annoying... My Nextcloud is running on a Raspi 4.

@Oberlurch3000 Can you open the extension settings and then copy the the error details from the debug tab? Just make sure to remove any private data if there is any. The error details should include the invalid custom field.

@marius-wieschollek this is the debug information.

{
"details": {
"data": {
"field": {},
"level": "error"
},
"message": "Found invalid custom field",
"stack": "Error: Found invalid custom field\n at Object.error (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:1:5294)\n at S.fromObject (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:140599)\n at S.fromJSON (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:140471)\n at M.fromObject (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:139393)\n at M.fromEncryptedData (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:138365)\n at kt.makePasswordFromApiData (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:158325)\n at kt.makeFromApiData (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:157938)\n at g._dataToModel (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:133771)\n at chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:133632\n at new Promise ()",
"time": 1616948993428
},
"error": {
"name": "Error",
"stack": "Error: Found invalid custom field\n at Object.error (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:1:5294)\n at S.fromObject (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:140599)\n at S.fromJSON (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:140471)\n at M.fromObject (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:139393)\n at M.fromEncryptedData (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:138365)\n at kt.makePasswordFromApiData (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:158325)\n at kt.makeFromApiData (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:157938)\n at g._dataToModel (chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:133771)\n at chrome-extension://mhajlicjhgoofheldnmollgbgjheenbi/js/background.js:22:133632\n at new Promise ()",
"string": "Error: Found invalid custom field",
"message": "Found invalid custom field"
}
}

Solved it by exporting all passwords and importing them while overwriting all existing ones.