<p>This is fixed in <a href="https://github.com/verbb/feed-me/releases/tag/3.0.0-beta.10" rel="nofollow noreferrer">3.0.0-beta.10</a>. Additionally, there's no longer the concept of environment variables in Craft, instead we now have aliases. So instead of using:</p>

<p><code>{siteUrl}assets/data/clients.xml</code></p>

<p>Use:</p>

<p><code>@web/assets/data/clients.xml</code></p>

CC BY-SA 4.0
2018-05-04T13:57:47.787Z
2018-05-04T13:57:47.787Z
crawf
<p>I recently started a new Craft 3 project and am having some trouble with Feed Me. I haven't had this problem in the past with Craft 2.</p>

<p>The Feed URL I'm using is giving me this error:</p>

<p><code>Unable to reach assets/data/clients.xml. Message: cURL error 6: Could not resolve host: assets (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)</code></p>

<p>When I try to use the siteUrl it seems like that isn't resolving either:</p>

<p><code>Unable to reach {siteUrl}assets/data/clients.xml. Message: cURL error 6: Could not resolve host: %7BsiteUrl%7Dassets (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)</code></p>

<p>The file exists at that location and is accessible through the browser.</p>

<p>Any thoughts?</p>

<craft3><plugin-feedme>
Feed Me relative paths
# Feed Me relative paths

(Asked by: username_0 on 2018-05-02)

I recently started a new Craft 3 project and am having some trouble with Feed Me. I haven't had this problem in the past with Craft 2.

The Feed URL I'm using is giving me this error:

`Unable to reach assets/data/clients.xml. Message: cURL error 6: Could not resolve host: assets (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)`

When I try to use the siteUrl it seems like that isn't resolving either:

`Unable to reach {siteUrl}assets/data/clients.xml. Message: cURL error 6: Could not resolve host: %7BsiteUrl%7Dassets (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)`

The file exists at that location and is accessible through the browser.

Any thoughts?

**Tags:** craft3, plugin-feedme

---

## 1 answers

### Answer by username_1 on 2018-05-04. Score: 3 | Accepted answer

This is fixed in [3.0.0-beta.10](https://github.com/verbb/feed-me/releases/tag/3.0.0-beta.10). Additionally, there's no longer the concept of environment variables in Craft, instead we now have aliases. So instead of using:

`{siteUrl}assets/data/clients.xml`

Use:

`@web/assets/data/clients.xml`


---

