Failed Item Import

mreynolds0404
mreynolds0404
Community Member

I am trying to create a very large (lots of websites) 1password item. So, I create a new item with just one URL, exported it to JSON, added all the additional URLs using a scripting language, and imported it back into 1password. The import fails, and I get the following errors in the application log:

Tue Dec 2 10:58:35 2014| 502006 [SYNC:0x618000265840:] W _itemFromAgileKeychainObject: | Unknown typeName '(null)' for ''
Tue Dec 2 10:58:35 2014| 502006 [IMPORT:0x618000265840:] E importInterchangeURL: | Invalid item properties, import failed:

Clearly, the must be a problem in the format of the file I am trying to import. Here is a snippet of my file:

{
  "overview": {
    "label": "",
    "url": "https:\/\/accounts.google.com\/ServiceLogin?service=mail&passive=true&rm=false&continue=https:\/\/mail.google.com\/mail\/u\/0\/?ui%3D2&ss=1&scc=1&authuser=0&ltmpl=default&ltmplcache=2&emr=1"
  }
},
{
  "overview": {
    "label": "",
    "url": "http:\/\/services.hq\/esm\/worklog"
  }
},
{
  "overview": {
    "label": "",
    "url": "http:\/\/nagios.hq\/"
  }
},

Anyone have an idea as to what the error messages are complaining about?

Comments

  • MrC
    MrC
    Volunteer Moderator
    edited December 2014

    Don't use the Copy JSON menu item; instead, select the item and File > Export > Selected Items, and select the 1PIF format.

    Then, look at the {"URLs":[ ... ] } array for the entry. Add additional URLs into the array, comma separated, following the syntax already there. You'll find the example easier if you export an item that has two or more URLS already.

    Then, Import the 1PIF.

This discussion has been closed.