# You do not have access to the requested area/action

**URL:** https://forum.mautic.org/t/you-do-not-have-access-to-the-requested-area-action/15683
**Category:** Product Support
**Created:** [August 17, 2020, 5:40pm UTC](https://forum.mautic.org/t/you-do-not-have-access-to-the-requested-area-action/15683 "2020-08-17T17:40:37Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pputnik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pputnik/32/1059_2.png) [@pputnik](https://forum.mautic.org/u/pputnik)
#### Post date: [August 17, 2020, 5:40pm UTC](https://forum.mautic.org/t/you-do-not-have-access-to-the-requested-area-action/15683/1 "2020-08-17T17:40:37Z")

</div>

**Your software**  
My Mautic version is: v3.0.1  
My PHP version is: 7.3.21

**Your problem**  
My problem is: Cannot select any contact source at at campaign builder, the error message is: “You do not have access to the requested area/action”

Please note the user has ‘administrator’ privileges.  
Mautic was upgraded from 2.16.3, there was no such issue then.

These errors are showing in the log:  
Nothing in:

- nginx error log
- php-fpm log
- mysql log
- mautic var/log/mautic\_prod-[today].php

nginx access log shows 200 ok for  
[https://mysite/s/campaigns/sources/new/mautic\_91...bc040be?sourceType=lists&\_=1597685135139&mauticUserLastActive=185&mauticLastNotificationId=6593](https://mysite/s/campaigns/sources/new/mautic_91...bc040be?sourceType=lists&_=1597685135139&mauticUserLastActive=185&mauticLastNotificationId=6593)

Steps I have tried to fix the problem:

- looked into all logs I can think of
- `rm -rf var/cache`
- searched this forum
- googled
- checked github issues

nginx config: [https://pastebin.com/Z5N3RYDF](https://pastebin.com/Z5N3RYDF)

---

<div class="post-metadata">

### Author: ![devsrealm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/devsrealm/32/3669_2.png) [@devsrealm](https://forum.mautic.org/u/devsrealm)
#### Post date: [August 18, 2020, 3:59pm UTC](https://forum.mautic.org/t/you-do-not-have-access-to-the-requested-area-action/15683/2 "2020-08-18T15:59:37Z")

</div>

You got the issue immediately you upgraded from v2.16.3 right, check if the mautic user hasn’t changed to root.

---

<div class="post-metadata">

### Author: ![pputnik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pputnik/32/1059_2.png) [@pputnik](https://forum.mautic.org/u/pputnik)
#### Post date: [August 24, 2020, 10:16am UTC](https://forum.mautic.org/t/you-do-not-have-access-to-the-requested-area-action/15683/3 "2020-08-24T10:16:38Z")

</div>

Yes, imediatelly after upgrade. Do you mean linux user running php? No, the user still www-data. I’ve double-checked all directory content is owned by that user/group.

p.s. I am watching this topic but did not receive mail notification about your answer ☹

---

<div class="post-metadata">

### Author: ![pputnik](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pputnik/32/1059_2.png) [@pputnik](https://forum.mautic.org/u/pputnik)
#### Post date: [August 24, 2020, 2:37pm UTC](https://forum.mautic.org/t/you-do-not-have-access-to-the-requested-area-action/15683/4 "2020-08-24T14:37:45Z")

</div>

I found an intermediate reason:  
`mautic\app\bundles\CampaignBundle\Controller\SourceController.php` in function `newAction` I have `$sourceType=""` despite the value definitely exists in the request:  
[https://mysite/s/campaigns/sources/new/mautic\_1422...7d?sourceType=forms&\_=1598278532864&mauticUserLastActive=943&mauticLastNotificationId=](https://mysite/s/campaigns/sources/new/mautic_1422...7d?sourceType=forms&_=1598278532864&mauticUserLastActive=943&mauticLastNotificationId=)

`$this->request` looks like this:

```
### Symfony\Component\HttpFoundation\Request Object
(
    [attributes] => ...
    [request] => ...
    [query] => Symfony\Component\HttpFoundation\ParameterBag Object
        (
            [parameters:protected] => Array
                (
                )
        )

```

so `query` is empty.  
Still looking why.

p.s. my nginx redirect rules look like this, are they correct?

```
 location / {
    try_files $uri $uri/ /index.php$uri$args;
 }

 location ~ .php$ {
   include snippets/fastcgi-php.conf;
   fastcgi_pass unix:/run/php/php7.3-fpm.sock;
 }

 location ~* ^/index.php {
   fastcgi_split_path_info ^(.+.php)(/.+)$;
   fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
   fastcgi_index index.php;
   ....
 }

```

I tested it with simple file:

```
<?php
echo "<pre>".print_r($_GET, 1);

```

And it looks correct, so the values get lost somewhere in Mautic/Symfony ☹

p. p.s. error message is more than misleading ☹ .

---

<div class="post-metadata">

### Author: ![peceunicis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peceunicis/32/13330_2.png) [@peceunicis](https://forum.mautic.org/u/peceunicis)
#### Post date: [March 14, 2023, 11:38am UTC](https://forum.mautic.org/t/you-do-not-have-access-to-the-requested-area-action/15683/5 "2023-03-14T11:38:46Z")

</div>

Hi,

Did you find a solution to this issue? I’m having the same problem.  
Tried several things, from fresh install, clean cache, upgrade - downgrade, and permission changes, ssl self signed - enable - disable, and so on, still the same issue when I try to create a form.  
No logs nor issues are noticed on the mautic side.  
Any help will be appreciated! Also noticed today builder for a landing page does not work too it does not give me a chance to drag and drop items.

Thanks.

---

<div class="post-metadata">

### Author: ![koraz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/koraz/32/13053_2.png) [@koraz](https://forum.mautic.org/u/koraz)
#### Post date: [November 24, 2024, 2:32pm UTC](https://forum.mautic.org/t/you-do-not-have-access-to-the-requested-area-action/15683/7 "2024-11-24T14:32:56Z")

</div>

you found any solutions for that ?
