Skip to main content

Error message while creating subitem via API

  • February 19, 2023
  • 4 replies
  • 391 views

Forum|alt.badge.img

Hi team,
I am getting this error message while trying to create a new subitem under an item via api.

{
“error_code”: “NoSubitemsColumnInThisBoard”,
“status_code”: 200,
“error_message”: “There is no subitem column on this board, please add it first”,
“error_data”: {}
}

Ideally, I would expect that a reference to the parent item should be sufficient to create a subitem.

Also, the create_column mutation does not specify subitem as a type.

Please guide me on how to proceed.

Thank you.

4 replies

kolaai
Forum|alt.badge.img
  • monday.com Partner
  • February 19, 2023

At the moment, to create a subitem, the subitem board has to first exist.
To create the board, you have to manually create a subitem under any item in the main board. You can delete the created subitem afterwards but the board will still remain (invisible).
Your query will then work afterwards


Forum|alt.badge.img

Thanks for sharing this @kolaai . That worked.


dipro
Forum|alt.badge.img
  • Leader
  • May 12, 2023

Hey @kranthi_thoughtflow and @kolaai – this issue was fixed!

You can now create a subitem on a board that doesn’t have any subitems on it – you won’t get a “please create a subitem column” error anymore.

Check it out in action here: Create first subitem


Forum|alt.badge.img

Thank you @dipro . Appreciate it 👍