Answers.Body: <p>1.) Have you set the feed to update existing entries?
  2.) Try to url-encode the URL in the JSON, it contains special chars like spaces.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-20T19:03:56.323Z
Answers.Text: 1) Yes, I should have mentioned that I'm set to update existing entries. and 2) I tried a URL without any spaces or special markup, and still no luck. This URL is only one of about 3000 in my file, and none have imported.
Answers.UserDisplayName: Ed Hebert
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-20T19:49:59.907Z
Answers.Text: Matthias- I tried URL encoding the Record Id and it worked after all. Thank you!
Answers.UserDisplayName: Ed Hebert
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-22T18:02:18.857Z
Answers.Text: Very happy to assist!
Answers.UserDisplayName: Matthias Redl-Mann
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-20T18:59:07.013Z
Answers.LastActivityDate: 2021-05-20T18:59:07.013Z
Answers.UserDisplayName: Matthias Redl-Mann
Body: <p>I'm trying to import a JSON file to map a bunch of asset paths to their appropriate related entries.  While I've followed the instructions in the docs, I'm still having trouble connecting the file path in JSON with its related Assets field.</p>
  <p>I have the following JSON structure, with &quot;Record Id&quot; representing the path to the file on the server, and &quot;Parent ID&quot; representing a field in my section to which I can identify the correct entry to map the asset.</p>
  <pre><code>[
    {
      &quot;Record Id&quot;: &quot;http://reminc.info/uploads/Call Reports/9s0353ca7831970c344b6afd2949eade4bf42_Agrati Reilingen, D 20120-02-11_ss.doc&quot;,
      &quot;Parent ID&quot;: &quot;zcrm_4320009000001781082&quot;
    }
  ]
  </code></pre>
  <p>I've verified that the file path maps to a file on my server, and that the &quot;Parent ID&quot; value matches the field within the target entry.</p>
  <p>All this said, Feed Me is failing to import the URL to create the link to the asset.</p>
  <p>What am I missing?</p>
  <p>Thanks!</p>
  <p><a href="https://i.sstatic.net/81PZf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/81PZf.png" alt="mapping fields in Feed Me" /></a></p>
  <p><a href="https://i.sstatic.net/Hn0iJ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Hn0iJ.png" alt="appropriate fields as they appear in Craft" /></a></p>
  
Tags: <plugin-feedme><assets-field>
Title: Feed Me and Assets Field - Mapping Trouble
ThreadText: # Feed Me and Assets Field - Mapping Trouble
  
  (Asked by: username_0 on 2021-05-20)
  
  I'm trying to import a JSON file to map a bunch of asset paths to their appropriate related entries. While I've followed the instructions in the docs, I'm still having trouble connecting the file path in JSON with its related Assets field.
  
  I have the following JSON structure, with "Record Id" representing the path to the file on the server, and "Parent ID" representing a field in my section to which I can identify the correct entry to map the asset.
  
  ```
  [
    {
      "Record Id": "http://reminc.info/uploads/Call Reports/9s0353ca7831970c344b6afd2949eade4bf42_Agrati Reilingen, D 20120-02-11_ss.doc",
      "Parent ID": "zcrm_4320009000001781082"
    }
  ]
  
  ```
  
  I've verified that the file path maps to a file on my server, and that the "Parent ID" value matches the field within the target entry.
  
  All this said, Feed Me is failing to import the URL to create the link to the asset.
  
  What am I missing?
  
  Thanks!
  
  [![mapping fields in Feed Me](https://i.sstatic.net/81PZf.png)](https://i.sstatic.net/81PZf.png)
  
  [![appropriate fields as they appear in Craft](https://i.sstatic.net/Hn0iJ.png)](https://i.sstatic.net/Hn0iJ.png)
  
  **Tags:** plugin-feedme, assets-field
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-05-20. Score: 1 | Accepted answer
  
  1.) Have you set the feed to update existing entries?
  2.) Try to url-encode the URL in the JSON, it contains special chars like spaces.
  
  > **Comments:**
  > **username_0**: 1) Yes, I should have mentioned that I'm set to update existing entries. and 2) I tried a URL without any spaces or special markup, and still no luck. This URL is only one of about 3000 in my file, and none have imported.  
  > **username_0**: username_1- I tried URL encoding the Record Id and it worked after all. Thank you!  
  > **username_1**: Very happy to assist!  
  
  ---
  
  