Skip to main content

API Help - "Group Not Found" message

  • February 11, 2020
  • 4 replies
  • 3544 views

SHaddy
  • Participating Frequently

Hello,

I’m new to the API here, I’m testing a sample call to create items on a board - but when I call to the API I’m getting a message back stating “Group Not Found”. Here is the board I’m trying to add an item to:

I’m trying to add it with the following query:

mutation {
create_item (board_id: 455625781, group_id: "leads", item_name: "King Arthor", 
             column_values: "{\\"phone_number\\":\\"2182134567\\",\\"bike\\":\\"B01231231\\",\\"created_date\\":\\"2019-02-10\\"}") {
  id
    }
}

I’m getting back the error:
{
“error_code”: “ResourceNotFoundException”,
“status_code”: 404,
“error_message”: “Group not found”,
“error_data”: {
“group_id”: “leads”,
“board_id”: 455625781
}
}

I’ve tried renaming the group to all lowercase - tried different groups on this board, many different things, but no matter what I do, I get the “group not found” error - please help!

This topic has been closed for replies.

4 replies

SHaddy
  • Author
  • Participating Frequently
  • February 12, 2020

I was able to figure this out from support - if you’re having the same issue, the name of the group is not what you need - you need the ID of the column instead. Its best to query to determine what the column id’s and group id’s are in this case.


mramos
  • New Participant
  • May 13, 2020

Hi

I m having the same isue
How i can get de group_id?

My code is equal

Tks

Martin


  • Community Expert
  • July 6, 2020

Hey @mramos,

in the developers section you can click API Playground in the top right corner.

In this view you can query all your board information.


  • New Participant
  • July 6, 2020

Hi @mramos
This is an example of how you can get id and title of the groups in a specific board.

{
  boards(ids: **__your_board_id__** ) {
	id
	name
	groups {
	  id
      title
	}
  }
}