Skip to content

json: cannot unmarshal object into Go value of type []models.IntentAgent #15

Open
@katopz

Description

@katopz

When I try to use

	intents, err := client.IntentsFindAllRequest()
	if err != nil {
		log.Fatal(err)
	}
	for _, intent := range intents {
		fmt.Println(intent.Name)
	}

I got

json: cannot unmarshal object into Go value of type []models.IntentAgent

Even I didn't make any request yet, any hint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions