# 403 Forbidden error while enabling / disabling theme component

**URL:** https://meta.discourse.org/t/403-forbidden-error-while-enabling-disabling-theme-component/278967
**Category:** Support
**Created:** [September 14, 2023, 4:49am UTC](https://meta.discourse.org/t/403-forbidden-error-while-enabling-disabling-theme-component/278967 "2023-09-14T04:49:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![b.iyer](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@b.iyer](https://meta.discourse.org/u/b.iyer)
#### Post date: [September 14, 2023, 4:49am UTC](https://meta.discourse.org/t/403-forbidden-error-while-enabling-disabling-theme-component/278967/1 "2023-09-14T04:49:32Z")

</div>

Hello,  
I got error 403 forbidden while enabling / disabling theme component from admin =\> customize =\> theme component =\> component X. I have updated the latest version of discourse.

Does anyone has solution of the same?

Thank you.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 14, 2023, 5:40am UTC](https://meta.discourse.org/t/403-forbidden-error-while-enabling-disabling-theme-component/278967/2 "2023-09-14T05:40:13Z")

</div>

Is this for your dev install?

Could you check your `/logs` and see if there’s more detail in there?

---

<div class="post-metadata">

### Author: ![b.iyer](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@b.iyer](https://meta.discourse.org/u/b.iyer)
#### Post date: [September 14, 2023, 5:49am UTC](https://meta.discourse.org/t/403-forbidden-error-while-enabling-disabling-theme-component/278967/3 "2023-09-14T05:49:43Z")

</div>

Thank you. Yes. This is my development environment.  
The error log shows “Can’t verify CSRF token authenticity.”

 ![SAG_Development_environment](https://global.discourse-cdn.com/meta/original/4X/2/b/e/2be703ff6a46fa6ddbc265a35327bb17f9ccaf13.jpeg)

Do you have any idea of the issue?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 14, 2023, 6:41am UTC](https://meta.discourse.org/t/403-forbidden-error-while-enabling-disabling-theme-component/278967/4 "2023-09-14T06:41:07Z")

</div>

I’m afraid this isn’t my forte so I may not be much use, but is that the correct error? I was hoping to see a red one. 🙂 Do you have all the different types selected in the bottom of the page?
