<p>In whatever Section you're getting that error in, you've got an <a href="http://buildwithcraft.com/docs/assets-fields" rel="nofollow">Assets field</a> inside of <a href="http://buildwithcraft.com/docs/matrix-fields" rel="nofollow">Matrix</a> (or possibly <a href="https://github.com/engram-design/SuperTable" rel="nofollow">SuperTable</a>) and that Assets field has “<a href="http://buildwithcraft.com/docs/assets-fields#restricting-uploads-to-a-single-folder" rel="nofollow">Restrict uploads to a single folder</a>” set and you've got a <a href="http://buildwithcraft.com/docs/assets-fields#dynamic-subfolder-paths" rel="nofollow">dynamic subfolder path</a> setup for it.</p>

<p>In that dynamic path, you're using <code>{slug}</code> when you should be using <code>{owner.slug}</code>.</p>

<p>From the docs:</p>

<blockquote>
  <p>Note that if you are creating the Assets field within a Matrix field, the source element is going to be the actual Matrix block, not the element that the Matrix field is being created on. So if your Matrix field is attached to an entry, and you want to output the entry ID in your dynamic subfolder path, you would type {owner.id} not just {id}.</p>
</blockquote>

CC BY-SA 3.0
2015-11-05T18:38:00.833Z
2015-11-05T18:38:00.833Z
Brad Bell
<p>I updated to the latest Craft version.</p>

<p>This error shows under the field in entries (backend):</p>

<pre><code>This field’s target subfolder path is invalid: {slug}
</code></pre>

<p>I checked the field and there is no <code>{slug}</code> tag at all.</p>

<p>Fronted shows images fine, but with that error I cannot update my entries.</p>

<error-message><updates>
Invalid path after Craft update
# Invalid path after Craft update

(Asked by: username_0 on 2015-11-05)

I updated to the latest Craft version.
This error shows under the field in entries (backend):
This field’s target subfolder path is invalid: {slug}

I checked the field and there is no {slug} tag at all.
Fronted shows images fine, but with that error I cannot update my entries.

**Tags:** error-message, updates

---

## 1 answers

### Answer by username_1 on 2015-11-05. Score: 2 | Accepted answer

In whatever Section you're getting that error in, you've got an [Assets field](http://buildwithcraft.com/docs/assets-fields) inside of [Matrix](http://buildwithcraft.com/docs/matrix-fields) (or possibly [SuperTable](https://github.com/engram-design/SuperTable)) and that Assets field has “[Restrict uploads to a single folder](http://buildwithcraft.com/docs/assets-fields#restricting-uploads-to-a-single-folder)” set and you've got a [dynamic subfolder path](http://buildwithcraft.com/docs/assets-fields#dynamic-subfolder-paths) setup for it.

In that dynamic path, you're using `{slug}` when you should be using `{owner.slug}`.

From the docs:

> Note that if you are creating the Assets field within a Matrix field, the source element is going to be the actual Matrix block, not the element that the Matrix field is being created on. So if your Matrix field is attached to an entry, and you want to output the entry ID in your dynamic subfolder path, you would type {owner.id} not just {id}.


---

