# Not authorized for requested path

**URL:** <https://community.sonatype.com/t/not-authorized-for-requested-path/1608>\
**Category:** Sonatype Nexus Repository\
**Tags:** help\
**Created:** [April 15, 2019, 10:53pm UTC](https://community.sonatype.com/t/not-authorized-for-requested-path/1608 "2019-04-15T22:53:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adriano.svieira](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/adriano.svieira/32/603_2.png) [@adriano.svieira](https://community.sonatype.com/u/adriano.svieira)\
**Post date:** [April 15, 2019, 10:53pm UTC](https://community.sonatype.com/t/not-authorized-for-requested-path/1608/1 "2019-04-15T22:53:50Z")

</div>

Hi!

One user has the following given privileges:

 ![2-privileges](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/1X/7b5c460b9b6a798446f99507390a00a6062da8db.png)

- _nx-component-upload_

He is trying to upload a component (some files of different types, e.g. .png, .pdf etc)

That same files could be uploaded by admin user, but others users with that privileges don’t.

e.g.

> Not authorized for requested path ‘design/UntitledDiagram.png’

What other privileges do I need to give them?

- my environment:  
NXRM-3.15.2

- logviewer:

> ```
> org.sonatype.nexus.extdirect.internal.ExtDirectExceptionHandler 
> Failed to invoke action method: coreui_Upload.doUpload, java-method:
> org.sonatype.nexus.coreui.UploadComponentComponent.doUpload
> org.sonatype.nexus.rest.ValidationErrorsException:
> Not authorized for requested path 'myfolder/myfile.png'
> 
> ```

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [April 15, 2019, 11:33pm UTC](https://community.sonatype.com/t/not-authorized-for-requested-path/1608/2 "2019-04-15T23:33:05Z")

</div>

The need to have the add and edit privileges for the target repository.

```
nx-repository-vew-<format>-<repoID>-add
nx-repository-vew-<format>-<repoID>-edit

```

Rich

---

<div class="post-metadata">

**Author:** ![adriano.svieira](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/adriano.svieira/32/603_2.png) [@adriano.svieira](https://community.sonatype.com/u/adriano.svieira)\
**Post date:** [April 16, 2019, 4:32pm UTC](https://community.sonatype.com/t/not-authorized-for-requested-path/1608/3 "2019-04-16T16:32:36Z")

</div>

Great!  
Thank you.

It works!
