<p>Have you tried to make <code>external_link</code> an array?</p>

<pre class="lang-json prettyprint-override"><code>"external_link": [{
    "cta": "Banner import link text (fr)",
    "url": "https://example.com"
}],
</code></pre>

CC BY-SA 4.0
2019-12-11T11:58:16.750Z
Yes I did try that but I've got the same result... Anyway thanks for your answer.
Elodie Grondin
CC BY-SA 4.0
2019-12-10T17:10:53.070Z
2019-12-10T17:10:53.070Z
Oli
<h3>Description</h3>

<p>I have a JSON feed which contains an external URL like "<a href="https://example.com" rel="nofollow noreferrer">https://example.com</a>" <em>(entries/external_link/url)</em>.
There is no error in feed-me logs when I run it, all the text data and assets are imported without any problems. Except for my URL field. I get "[ ]" instead of "<a href="https://example.com" rel="nofollow noreferrer">https://example.com</a>".</p>

<p>Any help on this ?</p>

<h3>JSON exemple</h3>

<pre><code>{
    "entries": [
        {
            "id": "140",
            "type": "regular",
            "title": "Banner import title (fr)",
            "subtitle": "Banner import subtitle (fr)",
            "body": "&lt;p&gt;Banner import body&amp;nbsp;(fr)&lt;/p&gt;",
            "internal_link": [{
                "type": "node",
                "title": "test",
                "id": "6",
                "cta": "Banner import link text (fr)"
            }],
            "external_link": {
                "cta": "Banner import link text (fr)",
                "url": "https://example.com"
            },
            "images": [{
                "url": "",
                "caption": ""
            }],
            "placements": [],
            "postdate": "2019/12/10",
            "status": "1"
        },
    ],
    "nextPage": "",
    "length": 20,
    "totallength": 23
}
</code></pre>

<h3>Additional info</h3>

<ul>
<li>Plugin version: 4.1.2</li>
<li>Craft version: 3.3.17</li>
</ul>

<craft3><plugin-feedme>
Can't import a complete url into an url field with feed-me
# Can't import a complete url into an url field with feed-me

(Asked by: username_0 on 2019-12-10)

Description
I have a JSON feed which contains an external URL like "https://example.com" (entries/external_link/url).
There is no error in feed-me logs when I run it, all the text data and assets are imported without any problems. Except for my URL field. I get "[ ]" instead of "https://example.com".
Any help on this ?
JSON exemple
{
    "entries": [
        {
            "id": "140",
            "type": "regular",
            "title": "Banner import title (fr)",
            "subtitle": "Banner import subtitle (fr)",
            "body": "Banner import body (fr)",
            "internal_link": [{
                "type": "node",
                "title": "test",
                "id": "6",
                "cta": "Banner import link text (fr)"
            }],
            "external_link": {
                "cta": "Banner import link text (fr)",
                "url": "https://example.com"
            },
            "images": [{
                "url": "",
                "caption": ""
            }],
            "placements": [],
            "postdate": "2019/12/10",
            "status": "1"
        },
    ],
    "nextPage": "",
    "length": 20,
    "totallength": 23
}

Additional info

Plugin version: 4.1.2
Craft version: 3.3.17

**Tags:** craft3, plugin-feedme


---

## 1 answers

### Answer by username_1 on 2019-12-10. Score: 2

Have you tried to make external_link an array?
"external_link": [{
    "cta": "Banner import link text (fr)",
    "url": "https://example.com"
}],

> **Comments:**
> **username_0**: Yes I did try that but I've got the same result... Anyway thanks for your answer.  

---

