# Error of permissions in using postman to get the list of custom dimensions ==\> help please

**URL:** <https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077>\
**Category:** API & integrations\
**Created:** [April 25, 2023, 5:13pm UTC](https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077 "2023-04-25T17:13:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![spujade](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/spujade/32/1453_2.png) [@spujade](https://community.piwik.pro/u/spujade)\
**Post date:** [April 25, 2023, 5:13pm UTC](https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077/1 "2023-04-25T17:13:25Z")

</div>

Hello the Piwik Community,

I’m facing an issue in using posting to create a request to return the list all custom dimensions available for a website.

> **[Object management API](https://developers.piwik.pro/en/latest/custom_reports/object_management_api/object_management_api.html)**

But even after creating my “access\_token” “Bearer type” i’m not able to execute the request ; i’m getting the following error  
“errors”: {  
“detail”: “You do not have permission to perform this action.”  
}

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/9/9cb264efc6920585a66fa3ed4218f430f8f843e2.png)

Here’s my example request  
{  
“data”: {  
“type”: “CustomDimension”,  
“id”: “331dea87-ef9c-4aa5-9ac8-24df5860bff0”,  
“attributes”: {  
“website\_id”: “d34d32fd-6634-4882-9c22-6d342d41b39d”

```
    }
}

```

}

What did i missed to run correctly my request ?  
Thanks in advance for your kindly help& support.

Sébastien

---

<div class="post-metadata">

**Author:** ![pwachala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/pwachala/32/315_2.png) [@pwachala](https://community.piwik.pro/u/pwachala)\
**Post date:** [April 25, 2023, 6:36pm UTC](https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077/2 "2023-04-25T18:36:30Z")

</div>

Hi Sébastien,  
the `website_id` should be in the query parameters, not in the body. Try to add it like that:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/5/5e11152e111f2731ffa9704f11261bf10e4cf00e.png)

Let me know if it helped 🙂

Piotr

---

<div class="post-metadata">

**Author:** ![spujade](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/spujade/32/1453_2.png) [@spujade](https://community.piwik.pro/u/spujade)\
**Post date:** [April 25, 2023, 7:51pm UTC](https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077/3 "2023-04-25T19:51:19Z")

</div>

Hi Piotr,

Thanks for your support.  
I tested it but maybe still didn’t catch something ☹ Ressource not found

 ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/e/eabaa06c4340f59f3f9fbf51e657b94264592374.png)

 ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/0/039ac7ec16ea53d9e6ff66e2ba5f806d360edb6e.png)

Do you have any idea please ?  
Thanks for your support.  
Good evening  
Sébastien

---

<div class="post-metadata">

**Author:** ![pwachala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/pwachala/32/315_2.png) [@pwachala](https://community.piwik.pro/u/pwachala)\
**Post date:** [April 26, 2023, 9:31am UTC](https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077/4 "2023-04-26T09:31:39Z")

</div>

Fortunately, it’s a different error 🙂

You’re missing ‘s’ in the name of the instance → ‘obusines’ instead of ‘obusiness’

Cheers  
Piotr

---

<div class="post-metadata">

**Author:** ![spujade](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/spujade/32/1453_2.png) [@spujade](https://community.piwik.pro/u/spujade)\
**Post date:** [April 26, 2023, 10:01am UTC](https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077/5 "2023-04-26T10:01:55Z")

</div>

Hello @pwachala Piotr,

thanks a lot; i’m feeling so dumb.

You make my day.  
Last question: is it possible possible to change the slot or the tracking\_id number please ? if so, where’s the documentation link i didn’t see it in the documentation) .  
Kind regards,  
Sébastien

---

<div class="post-metadata">

**Author:** ![pwachala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/pwachala/32/315_2.png) [@pwachala](https://community.piwik.pro/u/pwachala)\
**Post date:** [April 26, 2023, 10:09am UTC](https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077/6 "2023-04-26T10:09:48Z")

</div>

hi @spujade  
No worries, I’m happy I could help 😃

Regarding the slot and id of a custom dimension: it’s not possible to change it.

---

<div class="post-metadata">

**Author:** ![spujade](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/spujade/32/1453_2.png) [@spujade](https://community.piwik.pro/u/spujade)\
**Post date:** [April 26, 2023, 11:11am UTC](https://community.piwik.pro/t/error-of-permissions-in-using-postman-to-get-the-list-of-custom-dimensions-help-please/2077/7 "2023-04-26T11:11:41Z")

</div>

Hi Piotr,  
Thanks again for your great help and confirmation.  
Wish you a lovely day  
Kind regards  
Sébastien
