Exception: Response status code does not indicate success: 403 (Quota Exceeded) in bot framework channel emulator - window

I download the file from https://github.com/Microsoft/BotBuilder and run Microsoft.Bot.Sample.AlarmBot and then run the emulator. The emulator should show a list of option for me to choose from but instead it show the error. Can anyone help me? Thank you. The screenshot here show the problem below.

If you're using the AlarmBot sample untouched, it has an embedded key in it that was a sample key good only for 1000 uses a month, so other users have probably used all of its quota.
You can go to the LUIS portal and create a new App - the Programmatic API key it gives you can be used as a subscription key for 1000 uses. Set it up in the LUIS portal, then update your sample app and the bot should work.

Related

News sample skill returns unauthorized error

I am trying to use the experimental skills provided by the bot framework. I downloaded the code for the news skill and created all azure resources. I got the bing key from here and placed it in my appsettings.json I also updated all my config values to my Luis app.
I am testing through emulator. When I run the code I go through the dialog successfully, it asks me for the topic I want to get news about and my country and then at the point where it has to get the news articles I get the following error.
Does anyone have any idea what am I missing? I tried the bing API through postman using the same key I have in my appsettings and it is working fine.
Should I do an additional step other than just download the code and update all the config values?
I don't know what is causing this error.
If you have created bing using new marketing portal.
Here are endpoints for Bing news using REST API.
Doc Location: https://learn.microsoft.com/en-us/bing/search-apis/

Bad state: There were unclaimed errors, when create subscription in Google Play Console

I getting this error when create a subscription in Google Play Console.
Bad state: There were unclaimed errors, {global/VALIDATE_IN_APP_MESSAGE_INVALID_CURRENCY_FOR_DEFAULT_PRICE}
I try in old app and new app, but still no luck.
I have to test my subscription before release.
I send it to support but waiting for 3 days but not receive respond yet
any one have faced this problem ? Or could you please try in your account.
Thank you.
Google Play Console
Looks like a bug in the console. I found an express method how to fix it.
First you need to create a price template.
Here you can find how to do it.
https://support.google.com/googleplay/android-developer/answer/6334373?p=pricing_template
And then you can use this template on the subscription page.
Good luck.

Azure Bot Service - "An internal Error occured at the server"

I have created a bot service app in Azure that works fine when I create it. I go through the Microsoft App ID, password screen and it loads the chat emulator and code in browser (using the LUIS template and node.js language). After sometime, if I go back to load that app service from Azure dashboard, it keeps giving me "An Internal error occurred at the server" error message. I am not sure if I shouldn't be going to the newly created Bot Service from dashboard? I did this 3-4 times already, with new names, new RG etc., it's the same issue every time.
Thanks
Unfortunately this looks like a bug, there are are two open issues right now on the SDK's repo that look very similar to yours. Here is one of them; 'InternalServerError - Bot & QnA Maker'.
Regarding the downvote, it might be because there isn't a screenshot of the issue which usually helps in answering questions. Also, explaining the steps you undertook or compared against would have helped give a clearer picture for the community to answer.

Can't publish a Hangout app (extension)

I've created a Google Hangout extension app, tested it works privately etc and now I'm trying to publish it. I have followed the instructions here:
https://developers.google.com/+/hangouts/publishing
I've filled in the forms correctly, created the O-Auth client ID, filled out the consent form etc. When I tick the Make this application public tickbox and try to save, a server error message pops up along the lines of:
Server Error
Whoops! Our bad.
Please try again. If the problem persists, please let us know using the "Send feedback" link below. Thanks!
Tracking Number: XXXXXXXXXXXXXXXXXXXXXXXXX
[Send feedback]
I've checked the Chrome console - the request gets a 500 error and in the JSON response I can see:
{"message":"Developer not registered with CWS."}
I have paid the $5 one-off developer fee on the Chrome Web Store and I am the Hangout project owner. I'm not sure what I'm missing here. I need to get this published in the next 24 hours...
Any useful insights? Is there any official support forum for Google+ platform developers?
UPDATE
I was using a Google Apps account before so I've paid the developer fee on a personal account to verify me on CWS, made this account owner of the Hangout project and I still get the same message response.
I believe then that it's basically just broken. Thanks Google.

Youtube API v3 shows "Access Not Configured"

I created a Google application in the developers console, turned on "YouTube Data API v3", generated the server API key, and authorized my home and work IPs.
My website lists all videos from a Youtube channel, using the V3 API. It uses the official PHP library, passing it the server API key.
It all worked well yesterday from home, and today morning from work. Then, it suddently stoped working at 11am (GMT+1), with no action from my part, with this error:
[Google_Service_Exception] Error calling GET
https://www.googleapis.com/youtube/v3/channels?part=contentDetails&forUsername=xxxxxxxxxx&key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
(403) Access Not Configured. The API is not enabled for your project,
or there is a per-IP or per-Referer restriction configured on your
APIkey and the request does not match these restrictions. Please use
the Google Developers Console to update your configuration.
Note: i used less than 10 requests, out of the 50 millions allowed by day, i have a static public IP address, this part of the code was untouched.
What can i look for in order to fix that, please? I really don't know where to head for from now... Thank you.
Oooook...
Do all you have to with the API activations before you generate any keys!
Unactivating or reactivating API (like "Youtube Data") silently destroys your key validity. At least for the server one.
So the solution is, when you get the same error as me:
destroy your server key (delete it completely, do not only regenerate)
deactivate then reactivate all APIs you need
create a new server key
thank Google for the so clear error messages (optional)
Additionnaly when I opened the requested URL in browser I found that the API call returned
{"domain": "usageLimits"}
I tried the above solutions without success.
Creating a new project from scratch solved the issue
Thanks #Danra, you helped, but I add this answer because your comment is default hidden.
This solved for me....
i first followed #Ninj answer...still no change.
Then, After adding my domain urls to 'allowed referers' list,
i regenerated the key alone
it then worked like a charm !
i guess google parses allowed urls from the key string itself, not from updated settings
I got frustrated and created a new project with a new key and it worked like a charm.
Solution 1:
Create new project and enable Youtube Data v3 api and create credential.
Solution 2:
Check limit Quota in Youtube Data v3 -> Quota (in left pane) &
Increase the limits per day or request for Higher Quota
I also tried everything, but could only solve this when I created a new project, gave access to the APIs I needed, and added a new key.
I also got a "Bad Request" error and this solved it.
I also tried everything, but could only solve this when I created a new project, gave access to the APIs I needed, and added a new key.

Resources