Getting 403 error while using googleApis dialogflow with flutter - google-api

I have done exactly the example asked me to do here : ypelud/chatbot
I also created the daligogflow.json by creating a service account key.
I am able to compile the code fluently. But when I type something, I'm getting this error:
Dart Error: Unhandled exception:
DetailedApiRequestError(status: 403, message: IAM permission
'dialogflow.sessions.detectIntent' on 'projects/chatbot-gdg/agent'
denied.
The code seems to be working. No problem in getting it executed.
but when it comes to authorization, although i placed the service key json, it throws me the above error.
I would be glad if If the problem gets solved. Because that might save my school project very well.

Related

Why are we getting "Authorization has been denied for this request." error?

Today we persist service url for every user when we first see them and then use service url to work with botbuilder sdk. Every now and then we are getting consistent errors from Microsoft with this error message:
Authorization has been denied for this request.
This is the most recent occurrence:
outage duration
Could this happen because service url changes? If yes, should we constantly update service url on every message?
OR
Was there an outage? If yes, is there a status page we can see for these?

Error: restricted_client when authorization Youtube API V3

I got this error when I create new client secret in new project.
That’s an error.
Error: restricted_client
Unregistered scope(s) in the request: https://www.googleapis.com/auth/youtube.readonly
Request Details
access_type=offline
response_type=code
client_id=487794563386-mujtj6b5iatnmvdailldn468gg028p8g.apps.googleusercontent.com
redirect_uri=http://localhost:61515/authorize/
scope=https://www.googleapis.com/auth/youtube.readonly
That’s all we know.
How could I fix that ?
403 errors are errors with the users access. The user you are currently authenticated with does not have permission to do what you are trying to do in your case it appears to have something to do with the following scope.
https://www.googleapis.com/auth/youtube.readonly
Its hard to know what you are doing without seeing your code. I suggest you attempted to authenticate your user again. IF you changed the secret then its not going to work with a refresh token generated by another secret.
I am going to contact Google to be sure that there hasnt been any changes recently. I cant see anything in the change logs myself. There may have been a stealth change that they didnt release.
Status

Xcode Developer account login failed

Hey i'm trying to login in to my development account in xcode preference. But I'm getting below error. I tried from more then hour but it gives same error.
And when i check other already added accounts also get expired session.
The 503 error code you're getting is the HTTP status code, indicating that the server is unavailable, in this case, the authentication server. It could be that the system is under a denial of service attack, or it may just be down for maintenance.
You can read a little more about the error code here.

facebookadsapi invalid appsecret-proof in python

I'm new to the Facebook Marketing API and I'm trying to run the example custom_audience_utils.py script only to have it return an error message displaying "Invalid appsecret_proof provided in the API argument". I turned off appsecret_proof in my app. What am I don't wrong?
I was getting the same error. It turned out that I was using the wrong access token. You might want to check that.
I had generated the access token using the Graph API Explorer. By default the Graph API explorer generates a token for itself (see the application selection pull down on the top right of the page). I was using the app id for my own app (and hence the token was incorrect).
Once I generated a new token for my own app - and used it in the code - the appsecret_proof error went away.
Hope this helps.

Parse Facebook login fails with error code 251

I'm trying to use Parse Facebook & Twitter login in my app but the problem is I can't get the Facebook login to work.
I'm getting the following error message:
Error Domain=Parse Code=251 "The operation couldn’t be completed. (Parse error 251.)" UserInfo=0xa0329c0 {code=251, error=The supplied Facebook session token is expired or invalid.
I also downloaded the Parse tutorial "IntegratingFacebookTutorial" and still the same error.
(I added the bundle to the facebook app and updated the application id on xcode as required.
The same happens in my own project when trying to use PFLogInViewController, same setup + I'm calling [PFFacebookUtils initializeFacebook]; in my didFinishLaunchingWithOptions.
I found several reports about this issue but zero solutions so far.
Found a solution (will be happy to hear if its a valid solution)
In the facebook app (developer.facebook.com) -> Settings -> Advanced -> Is your app secret embedded -> Set to "No" and problem solved!

Resources