# API provides no other\_course\_settings field although it is not empty

**URL:** <https://discuss.openedx.org/t/api-provides-no-other-course-settings-field-although-it-is-not-empty/11817>\
**Category:** Development\
**Created:** [November 29, 2023, 10:06am UTC](https://discuss.openedx.org/t/api-provides-no-other-course-settings-field-although-it-is-not-empty/11817 "2023-11-29T10:06:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![resa](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/resa/32/6218_2.png) [@resa](https://discuss.openedx.org/u/resa)\
**Post date:** [November 29, 2023, 10:06am UTC](https://discuss.openedx.org/t/api-provides-no-other-course-settings-field-although-it-is-not-empty/11817/1 "2023-11-29T10:06:50Z")

</div>

Dear Openedx community,

I tried to get the content of the field other\_course\_settings through the API and it works in general. But, everytime I change the content of the other\_course\_settings field in an Open Edx Course (via the browser) the other\_course\_settings field disappears completely from the API result! Even the key (other\_course\_settings) is not present. In my experience it takes a few days, then it shows up with the new information. That’s very weird! Do you have a hint for me how to avoid this?

I did the steps as stated here: [Enabling Custom Course Settings - #6 by erickhgm](https://discuss.openedx.org/t/enabling-custom-course-settings/7337/6)

- Enable feature ENABLE\_OTHER\_COURSE\_SETTINGS
- Enable COURSE\_BLOCKS\_API\_EXTRA\_FIELDS
- Getting course blocks: add query param: `requested_fields=other_course_settings` (I use Python instead of curl to request the API)

Thanks and best!

---

<div class="post-metadata">

**Author:** ![medamine](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@medamine](https://discuss.openedx.org/u/medamine)\
**Post date:** [June 20, 2024, 3:14pm UTC](https://discuss.openedx.org/t/api-provides-no-other-course-settings-field-although-it-is-not-empty/11817/2 "2024-06-20T15:14:43Z")

</div>

Hi resa,  
I’m having the same issue.  
Did you find a fix for this? Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![resa](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/resa/32/6218_2.png) [@resa](https://discuss.openedx.org/u/resa)\
**Post date:** [June 25, 2024, 12:07pm UTC](https://discuss.openedx.org/t/api-provides-no-other-course-settings-field-although-it-is-not-empty/11817/3 "2024-06-25T12:07:22Z")

</div>

Hi medamine,

sorry, no, we decided not to use this field.

Best  
Resa

---

<div class="post-metadata">

**Author:** ![medamine](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@medamine](https://discuss.openedx.org/u/medamine)\
**Post date:** [June 25, 2024, 1:33pm UTC](https://discuss.openedx.org/t/api-provides-no-other-course-settings-field-although-it-is-not-empty/11817/4 "2024-06-25T13:33:44Z")

</div>

thanks for replying

---

<div class="post-metadata">

**Author:** ![WillEVTdigital](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/willevtdigital/32/6667_2.png) [@WillEVTdigital](https://discuss.openedx.org/u/WillEVTdigital)\
**Post date:** [December 6, 2024, 6:06pm UTC](https://discuss.openedx.org/t/api-provides-no-other-course-settings-field-although-it-is-not-empty/11817/5 "2024-12-06T18:06:51Z")

</div>

I came across this problem too. It looks to be a problem with the course block cache. I’m not sure whether the specific xblocks get deleted from the cache or there is an error as they’re updating; not something I can debug.

The solution for me was to force a cache update:  
All courses:

```auto
./manage.py lms generate_course_blocks --all_courses --force_update

```

or a single course:

```auto
./manage.py lms generate_course_blocks --courses 'edX/DemoX/Demo_Course' --force_update

```
