I can't save any changes in the Alexa Developer Console (for example if I want to change the endpoint) because I always receive this error:
Provided eTag does not match with the resource's current eTag. Please
apply your changes on the latest version of the resource. Error code:
InvalidEtag
What can I do to fix this?
Click Save
It says "Successful"
Wait for a while. Do not Build it immediately.
Click "Build" and it will work successfully.
Related
In a Microsoft Teams app built using App Studio, is it possible to control the how long the typing indicator should be shown to the user? Via code or any other means. Please point me to any documentation other than https://learn.microsoft.com/en-us/azure/bot-service/nodejs/bot-builder-nodejs-send-typing-indicator?view=azure-bot-service-3.0
Currently, there is no option to set how long it's shown from code. This time is handled by each channel.
Optionally, you could send typing indicator message more than once to re-initiate the typing indicator.
Microsoft Azure Bot Service provides default time for typing indicator i.e 5sec .
Currently, there is no option to set how long it's shown from code.
But if we can use a card refresh process then we can send a manual typing message and when a response comes you can refresh that same card.
I am using Standard AppEngine (Java) to develop a webservice. It seems that every request made to the service is automatically logged with stackdriver as a "request log", and each "request log" has multiple "application logs" attached to it .
I need to somehow pass in some additional information to be logged in stackdriver (like say the username of the person who made the request), and which can be later on extracted or scraped from stackdriver through a script.
I had 2 questions regarding this :
Is there anyway, I can attach this additional information to the request log ?
If I log the additional information as a normal log message which appears in the application log, is there a way to attach a distinguishing tag/label to the message, which will help me extract it easily and reliably ? (rather than relying on finding patterns in the text of the message itself)
1- Yes, you can add additional info as the application logs to the request log as it shows at: https://cloud.google.com/appengine/docs/standard/python/logs;
2- Looks you can add the tag or label to the log: https://cloud.google.com/logging/docs/api/tasks/creating-logs#writing_log_entries
I have a selenium suite that runs on our user interactive website. Our company also tracks the event that are fired when a user interact with an input field (such a numeric input or slider) on third party such as google analytics. I am trying to verify the events fired when a user clicks on a button on a page. Is there a way, selenium can track that event in console and verify it?
There are 2 approaches that you could take in order to achieve what you're looking for:
Parse WebDriver's logs and get required info from there, here is an example on how to get them from chromedriver: https://sites.google.com/a/chromium.org/chromedriver/logging/performance-log - please note that for, for example, firefox - capabilities would be different, also you won't be able to get response codes and response time, only basic info.
Create proxy, configure wd to use it and capture traffic using proxy, one of the solutions is called BrowserMob proxy. Once traffic goes through you may get Har file from proxy and get all the data from there. Har captures all the data you may need: request, params, response code, response timings.
I am unable to create HTML5 boilerplate project in webstorm.What am i missing here.Kindly suggest.
The reason is that one has to set up the HTTP proxy if being used. The exact steps of doing the same are: https://www.jetbrains.com/help/webstorm/2016.1/http-proxy.html?origin=old_help
Summary:
Hit ctrl+alt+S. This opens up the settings window. Here hit on the drop down for Appearance and Behaviour. Then hit on the drop down for System Settings. Select HTTP Proxy and configure it. Check if it connects.
Being located behind the corporate firewall as well, what did simply work for me was to open HTTP Proxy section under Settings and tick Auto-detect proxy settings radio button. Next time a new project is being created press Reload list (if it's not updating automatically) and WebStorm will ask for your credentials. Type them down and you are done. Give it a try!
I'm trying to setup the config.php with my values but I get this fatal error:
Fatal error: Uncaught exception 'Google_AuthException' with message 'Error fetching OAuth2 access token, message: 'invalid_grant'.
I entered the client ID, secret, simple API key, location and sqlite database as the documentation says here:
https://developers.google.com/glass/quickstart/php
Any idea of what I'm doing wrong?
Thanks in advance!
This happens when the URL where you're hosting your Glassware is not listed as a valid OAuth 2.0 redirect URI on the API console. Follow these steps to resolve it.
First, determine your OAuth 2.0 redirect URI. This is where traffic goes at the end of the OAuth dance. The correct value depends on where you're running the php quick start. If you're running it on a local web server, it's likely to be http://localhost/mirror-quickstart-php/oauth2callback.php. If you're running it on example.com, it might be https://example.com/oauth2callback.php.
Go to the API console. This link will lead you to the right panel (services), but double check that you're on the correct project.
Scrolling down you should see a section of the page that looks like this: . Click on 'Edit Settings...'.
This triggers a pop-up where you can enter your OAuth redirect URIs. Add your redirect URI to the top text area. Make sure to put each URI on its own line.
Reload the page for the PHP Quick Start and everything should work.
If you're still having an issue, please share the full error message on the page and the value you have for the base url in config.php.
If you're getting the invalid_grant error from Google : Instead of using the client ID from google developer console as your value for client ID in the code, try using the email address value from developer console. This is actually what they expect. So, to confirm - the value for Client ID should be the value from developer console ending #developer.gserviceaccount.com
Had similar problem in Windows PS dotnet environment when trying to connect to DialogFlow Google Cloud Project recently and it appeared to be intermittent fault but it turned out to be global $env:GOOGLE_APPLICATION_CREDENTIALS in windows PowerShell was pointing to a key file set when first setup access to GCloud days before and since regenereated keys in GCP Console
After generating new key file and setting it with new generated key file using $env:GOOGLE_APPLICATION_CREDENTIALS="[Path_To_JSON_Key_File]" the problem went away but fix only lasted as long as the window was open, then after a while ran $env:GOOGLE_APPLICATION_CREDENTIALS on a newly opened PS window and noticed it was still pointing to the old key file!
setting the system environment variable GOOGLE_APPLICATION_CREDENTIALS to the value of [Path_To_JSON_New_Key_File] fixed it, all newly opened PS windows had the correct key file and authenticated correctly using Service Account and .Net Google Cloud API calls worked after that