# Course\_id required error

**URL:** <https://discuss.openedx.org/t/course-id-required-error/16198>\
**Category:** Development\
**Created:** [June 2, 2025, 12:13pm UTC](https://discuss.openedx.org/t/course-id-required-error/16198 "2025-06-02T12:13:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![teklu](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@teklu](https://discuss.openedx.org/u/teklu)\
**Post date:** [June 2, 2025, 12:13pm UTC](https://discuss.openedx.org/t/course-id-required-error/16198/1 "2025-06-02T12:13:01Z")

</div>

Hi,

i was trying to access the endpoint shown in the attached image, and i can’t see course\_id in the parameters list, why am i getting this error?

is that the course id the user rolled in?

 ![Screenshot from 2025-06-02 15-08-31](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/d/d8a5da3e10d51d8dddf9fada89de9d2cb58f5c50.png)

thanks

---

<div class="post-metadata">

**Author:** ![braden](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/braden/32/46_2.png) [@braden](https://discuss.openedx.org/u/braden)\
**Post date:** [June 2, 2025, 4:37pm UTC](https://discuss.openedx.org/t/course-id-required-error/16198/2 "2025-06-02T16:37:15Z")

</div>

Hi,

A lot of our API endpoints are not yet fully configured for browsing via the docs interface (Swagger UI). You cropped the screenshot to just show the parameters form, but it you look above that you can see the docstring clearly says that `course_id` is required. Unfortunately this means is is not possible to test this endpoint from the Swagger UI at the moment, but it will still work programmatically. PRs to fix that would be very welcome.

 ![Screenshot](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/8/81b3813f91ef24141be97dca70670be4bc5cd47f.png)

> [@teklu](#):
>
> is that the course id the user rolled in?

It’s the course whose blocks you want to retrieve. If you’re a regular user, you must be enrolled. Admins can request the blocks (outline+content) of any course on the system.

---

<div class="post-metadata">

**Author:** ![Meftu\_Abdi](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/meftu_abdi/32/8323_2.png) [@Meftu\_Abdi](https://discuss.openedx.org/u/Meftu_Abdi)\
**Post date:** [June 2, 2025, 7:05pm UTC](https://discuss.openedx.org/t/course-id-required-error/16198/3 "2025-06-02T19:05:08Z")

</div>

Thanks for ideas

---

<div class="post-metadata">

**Author:** ![teklu](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@teklu](https://discuss.openedx.org/u/teklu)\
**Post date:** [June 2, 2025, 7:27pm UTC](https://discuss.openedx.org/t/course-id-required-error/16198/4 "2025-06-02T19:27:13Z")

</div>

Thanks @braden ,

Got it, I was a bit confused why the parameters doesn’t exist i didn’t know the api endpoints aren’t fully configured, I saw that endpoint fully, i didn’t mean to crop intentionally.

thank you.
