"There was an error completing your request" on Google Dialogflow - actions-on-google

When trying to publish an app from DialogFlow from the integration section of the console.
After clinking "Manage Assistant App" or "Test" in the integrations > Google Home assist tab, I get the following Error:
There was an error completing your request
The page is
https://console.actions.google.com/u/0/project/[projectname]/simulator/
or
https://console.actions.google.com/u/0/project/[projectname]/overview/
And, when I import my project into Google Actions, no actions show up.
How can I fix this?

The description is too vague to help with this so here are some questions:
where from (from which screen) do you find and click the "Manage Assistant App"? Is this from the DialogFlow or the Actions on Google (AoG) dashboard?
Is your project working and providing the correct responses when you
try it from the DialogFlow?
Are you using a fulfillment?
If yes do you use the inline editor?
If yes, here are 2 things that can provide you with more information about the issue:
At the DialogFlow 'try it now', check the JSON object that it responds with by clicking on the "Diagnostic info" and check for any errors
At the fulfillment, scroll at the bottom and click on the 'View execution logs in the Firebase console'

OK, I worked out the issue. I have two google accounts. My personal account and my work account. The issue is when I click "Manage Assistant App" or "Test" it open google Actions. This is a separate application to DialogFlow.
When I opens Actions it changes to my personal account, but DialogFlow is using my work account. So I changes google Actions to my work account...........
And Bingo!!!!!!!
It works!!!!!

Related

Share button not found (anymore) in Google smart home action test simulator

We are developing a google smart home action. As per this and this guides we added testers as viewer and shared action and it worked few months ago. Now we don't see this share button in our simulator anymore. Wonder how to share with testers anymore? As guides still wants us to share the project through this button.
Screenshot from documentations:
Screenshot of my simulator:
We are able to add the tester in IAM project, but tester is unable to see the action like owner does ([test] ABC agent) in google assistant app.
Edit 1:
It doesn't work even sharing an action with owner rights. Second user is unable to see that action in Home Control under google assistant app
As per discussion with 'Actions on Google Support Team' they say that "There has been a slight modification on the interface in the simulator page. Unfortunately, the current documentation hasn't been updated yet to reflect this change."
You can still share your Action without the share button. To recap:
Go to the Actions console and select your project.
In the right navigation menu, select the three dot icon and then Manage User Access.
This redirects you to the IAM page for your project.
Click ADD to set a team member's access to your project. You must be an owner of the project.
Type the member's email address in the Members box. To assign view access, from the Roles menu, select Project and then Viewer. The members you add will be able to see the Action on their console. Please note that the system does not proactively notify the added members.
Tester/Viewer will have to login in to console and Enable testing in simulator to see the action in Google Assistant App.
Happy Coding !

How to solve restricted_client error in google sign in flutter IOS?

I'm trying to implement google signin in my flutter app when I click google-signin button.
when I click continue it redirects to a browser window and tells
I have enabled google sign in and place json file in correct path
can any one help?
Clicking on 'Learn More' in the error message above should take you to the Google Cloud Console configuration for your project, where you need to configure the OAuth consent screen information before you can use Google Sign In.
If you already know your Google Cloud project information, visiting https://console.developers.google.com/apis/credentials/consent will take you to the consent screen configuration.
You can find more information at https://support.google.com/googleapi/answer/6158849?hl=en.

How to create suggested input in actions on google while creating an google assistant app in dialogflow?

I want to put a prompt to allow user to choose while responding in google assistant app. I am creating this in dialog flow. How do I do this?
If you want to add "suggested input" items into your conversational experience as they show in the simulator or on a screen device, you are talking about "Suggestion Chips". Here is what that looks like in the simulator:
Using Dialogflow you can go into an Intent, and go to Responses. Go to the Google Assistant tab. Add a response and choose the type "Suggestion Chips". The input should match an intent.

Google Action and DialogFlow error "Sorry, this action is not available for your app"

I created a DialogFlow app that works perfectly in my developer account.
But I need to test it as another user, so in my Google Action simulator, I added another test account as a OWNER to the project.
I verified this user has OWNER status in both the DialogFlow and Google Action UI.
They are able to edit both projects with full access.
However, when the test account tries to use the simulator it says:
Sorry, this action is not available for your app. Sorry, this action
is not available for your app. In the simulator, you are only able to
invoke actions that you have added to your app. For more information
on how to invoke your app, click here
https://developers.google.com/actions/discovery/explicit
This makes no sense to me:
I verified the test user has OWNER/ADMIN status on both DialogFlow and Google Actions for the project.
In DialogFlow, I verified the Google Assist is pointing to Default Welcome Intent as the default intent.
In Google Actions, I verified that the Default Welcome Intent is visible on the BUILD > ACTIONS UI.
As others suggested, I tried renaming the app several times with no luck.
I tried publishing an Alpha version, with still no luck.
My gut tells me it is some sort of permission/visibility problem, but I am completely stuck. Any ideas would be of great help.
EDIT:
THIS ISSUE HAS BEEN SOLVED. SEE COMMENT BELOW.
"I revisited my activity controls and noticed my "Web and App Activity" had a special clause due to organization permissions. I completely missed it due to the confusing UI. Posted a picture in the main thread. Thanks for reminding me to double check that area."
After you asked your company admin to enable this feature, it should be same as the image in below.
This error message is quite misleading. I have encountered this error a couple of times, and generally the problem was with one of the privacy settings in my Google account.
In this case you should go to https://myaccount.google.com/activitycontrols, confirm that you are logged in using your test account, and make sure the following are enabled:
Web & App Activity
Device Information
Voice & Audio Activity

Google Actions permission access

I have created a project on Google Actions. I would like to share the action with my friend. I tried giving them Viewer and Role Viewer access but they are not able to access the action on their mobile's Google Assistant App.
Could you tell me which Role shall I give it to them so that they can access my actions.
I think you should choose "Project / Viewer" as role.
Once you have given them viewer access from your owner account, the Google Project will now be visible on their Actions console. Going in they will have to toggle the test status to ON, so that they can invoke the action from their mobile devices. I don't think there is a easier way around this.