Skip to content

IAM permission 'dialogflow.conversations.create' on 'projects/xxx' denied. #9425

Answered by coryan
PratheepCXM asked this question in Q&A
Discussion options

You must be logged in to vote

I am Using Dialogflow GRPC API CreateConversation, but the API returns the above IAM Permission error. I am using Service Account as credentials. But the same JSON file is working in JAVA and C++ client libraries.

I am a bit confused. Are you saying these credentials work in Java but not in C++? Or if they work in both, what is the problem?

What permission/Role needs to be given in IAM to create conversation. I have used grpc::GoogleDefaultCredentials(). Do I need to give any other credentials?

Hmmm... maybe you are trying to make the calls via gRPC, without using the C++ client library?

There is a small chance that I guessed correctly as to what the problem is, and in that case maybe…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by coryan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants