Error uploading actions to Gactions ( Google Assistant ) - google-assistant-sdk

I am receiving the following error on uploading the actions.json to gactions using Windows as well as Linux.
ERROR: Failed to update the app for the Assistant
ERROR: The caller does not have permission
2019/04/13 13:56:47 Server did not return HTTP 200
Account used to upload action is same as the one used to create project.
I am able to get the verification code and once I paste back in terminal to authenticate it gives the above error.
Can someone please guide what is to be done exactly, I am using the below guide on google
https://developers.google.com/assistant/sdk/guides/library/python/extend/custom-actions

Related

InvalidAuthenticationToken on calling Microsoft Graph Service

I am follow the tutorial that Microsoft has provided for signing a user into a desktop application using Microsoft Identity Platform and calling ASP.NET Core Web API which calls Microsoft Graph. I believe I followed all of the steps, configuring my service and client per instructions. https://github.com/Azure-Samples/active-directory-dotnet-native-aspnetcore-v2/tree/master/2.%20Web%20API%20now%20calls%20Microsoft%20Graph
However upon trying to add a new "to-do", I get the following error: "Bad Request: An error occurred while calling the downstream API Code:InvalidAuthenticationToken
Message: Invalid x5t claim "
The error occurs on this call:
User user = _graphServiceClient.Me.Request().GetAsync().GetAwaiter().GetResult();
Any idea what the issue might be and how I troubleshoot?
Update: I am in the middle of troubleshooting this now with an admin. I am not getting roles back but he is and we now both agree the issue is on the azure application configuration, not the code... frustrating, but we are at least making progress.
Would you please try pasting the token into jwt.ms to decode it and inspect the claims?
I got a similar error due to a lack of access. Changing Delegated and Application Permission for Users solved the issue. You can try that.

Unknown Error in Microsoft graph API Calendar module

As I'm trying to get my calendar with graph UI or with my daemon app, I get the same unknown error with the http error 404
For my app I got the needed permission Calendars.Read by the admin and added the proper scope. The app works nice, when I run simple query https://graph.microsoft.com/v1.0/users/id, I got the required profile, however as I run /users/id/calendars, it fails as shown above.
The same thing occurs as I just run /me/calendars in MS Graph UI as a ordinary user with only delegated rights.
Any ideas, what I'm missing?

google action account linking Accounts failed to link

I want to account for linking google action to my web app. followed the OAuth Client Information. I have implemented
Set Up an OAuth2 Server Using Passport in Laravel( tutorial link).Where I did authentication. finally, I find my application at my home mobile app but when goes to click on MY created app it gives me account linked and after that an error "something went wrong and close" but when I open my
it gives me an error
Accounts failed to link. Please close your browser and try again
The documentation at Add authentication to your project indicates that you need to use the Authorization Code auth type instead of the Implicit flow.

Diaglogflow account linking failed for Visual Studio Online

I have spent a lot of time lately trying to link MS VSTS account with Dialogflow. Unfortunately all my attempts failed and I am unable to find out the reason for this.
What I have done so far is:
Went to registered new VSO application (https://app.vsaex.visualstudio.com/app/register), filling in the correct callback URI (https://oauth-redirect.googleusercontent.com/r/MY_PROJECT_ID) also defining the proper scopes.
Got back to Google's action console overview page (https://console.actions.google.com/project/MY_PROJECT_ID/overview/accounts) to fill in the details for the newly created application (authorize URL, token URL etc.) selecting Authentication Code grant type.
Went to Dialogflow to set the "sign in required" for the welcome intent.
Update the action and got the "It looks like your account is not linked yet" message in simulator, but after using the DEBUG URL to complete the process, I received "account linking failed" message for no obvious reason.
I have also tried the linking procedure with 2 other OAUTH providers and it was working flawlessly, but the MS implementation apparently is not standard.

Getting error while taking access of my personal drive rails

connection = GoogleDrive.login("vg123#gmail.com","acbshaka" )
*** GoogleDrive::AuthenticationError Exception: Authentication failed for vg123#gmail.com: Response code 404 for post https://www.google.com/accounts/ClientLogin: https://developers.google.com/accounts/docs/AuthForInstalledApps
Please Help me I just want to upload csv file to my personal drive from rails code on server side in background process.................Please help me
Use OAuth instead of it, login is deprecated so long back

Resources