Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
katopz opened this issue Apr 30, 2018 · 0 comments
Open

Comments

@katopz
Copy link

katopz commented Apr 30, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant