I am using bing Maps in my app. When i am using the Get Directions it's showing this error. How to solve it. I googled for hours but hasn't got any help. Pleas help.
These are the two services which i am hitting.
http://dev.virtualearth.net/webservices/v1/routeservice/routeservice.svc/mex
http://dev.virtualearth.net/webservices/v1/geocodeservice/geocodeservice.svc/mex
Or Please give me Step by Step Procedure to work with the bing maps.
Check the Bing Map Sample application given in MSDN .It has code which shows how to implement Bing Map.Hope this helps
The error you are getting is often due to missing or incorrect credentials. You need to have an API key to access the Bing Maps services. This blog post includes a description of how to get a key and set it in your project.
Related
i try to setup the youtube api but i get a 403.
I tried to setup several times- without success.
https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails&id=-DIJvggBrg8&key=xyz
Maybe someone is able to help me or even login to the console for a setup?
The 403 error by itself is not of immediate use. Its attached error code (as I already pointed out above) sheds light on the things that happened.
The API responds to any query you make with a text (that is structured in JSON format). That response text contains the needed error code.
I suggest you to proceed with the following steps:
delete the old API key (right now it is still accessible!);
create a new API key and
run your API query using the new key and then post here the API response text.
Note that I checked the video -DIJvggBrg8 to which your query refers to with my own API key and got no error but a JSON text describing the video.
How can I get an Google Translation API key to connect Trados Studio to Google Translation API?
In this instruction of SDL below, the key seems to have been available in the list in "APIs & services > Credentials" of Google Cloud console.
https://urldefense.proofpoint.com/v2/url?u=https-3A__gateway.sdl.com_apex_communityknowledge-3FarticleName-3D000005906&d=DwICaQ&c=Fge86U5Za1d7PUAcaTHoag0MToOH_fWpqWSEoP8Euxo&r=xdz4rRCzUCiMTlPzdnPEy9-9jLzZpm5SDgO1bwvO1T0&m=qS3KpcI4kSqBPB9p5G3IWLP2u9lzbF5ZeA6cdFqdAJY&s=lEyhu-1AVxnMDNj247L28iKqLLfpSCLyAzAOLhjf8lM&e=
But now, the "Key" column does not exist in the list. Instead, I got a Jason file following the steps in the console. But any values in the fields in the file like "project_id", "private_key_id", "private_key", and "client_id" all didn't work. I get an error "The API Key you have entered cannot be validated with Google".
I could make the key following the steps described in this page.
https://cloud.google.com/docs/authentication/api-keys#creating_an_api_key
The steps looked almost the same as those in SLD's instruction page.
But somehow, this link below in SDL's instruction page didn't work correctly for me.
https://console.developers.google.com/cloud-resource-manager
I got this error when I tried from the link.
we have an integrated with google picker(read-only scope,Docs view) it use to work fine but recently some users are getting blank screens as soon as the pop up shows but when they select some filter everything starts working fine after that no problems.
using developer tools i see all apis returning 200 for that first request
but there were no docs in response(i believe this is the api responsible for bringing docs in picker 'https://docs.google.com/picker/pvr')
when there are no docs returned in above api google is calling another api i assume it is to log error's probably(//docs.google.com/picker/ohnoes)
this api has following error params in it
&error=Cached and requested query mismatch
&line=Not available
&viewToken=["all",null,{"query":null}]
&ms=97
&transferDocs=false
&numErrors=1
has anybody else faced the similar problem
what do error "Cached and requested query mismatch" means in context of drive docs
Fyi - most accounts facing this problem seems like are of company domain for ex "jondoe#company.org"(this is a google account with company domain)
Filters Image
Thanks for your help.
not sure but looks like issue was may be related to google bug
https://issuetracker.google.com/issues/64825685
for me the code that was not working was:
addView(google.picker.ViewId.DOCS)
replaced this code with below code which works as expected
var view = new google.picker.DocsView();
view.setIncludeFolders(true).setOwnedByMe(true).setParent('root');
addView(view).
Has anyone experienced this error before? I have been researching, testing, and banging my head to get this error to go away but nothing seems to work.
This is a similar question to the following posts:
Error: invalid_scope google read contact
Google Api:: Error: invalid_scope
403 error when calling Google People API
Unfortunately, these posts never were resolved or aren't helpful.
What is puzzling is, i'm following the examples listed here: https://developers.google.com/api-client-library/javascript/samples/samples. Along with testing the ONLY the scopes I need here: https://developers.google.com/people/api/rest/v1/people/get.
However, I cannot seem to get past the popup screen that states i'm passing an invalid scope.
FYI, I have the API Console setup to use Google People API, Google+, and Google Contacts. I'm using my client id and api key in the "gapi.auth2.init" config call.
Any insight would be super helpful! Thank you for your time and response.
This is a scope issue because my web application has not been verified by Google for OAuth.
As a developer you can test the source by entering your test account(s) here: https://groups.google.com/forum/#!forum/risky-access-by-unreviewed-apps
To get approval you must submit the form here: https://support.google.com/code/contact/oauth_app_verification
after googling some time I've come across this question and the list of scopes of google:
https://developers.google.com/identity/protocols/googlescopes
Just in case this helps.
I copied and paste code from google developers example page
Search list
and that example didn't work for me. I got the same error about invalid scope...
Solution was to change below line:
private static final Collection<String> SCOPES = Arrays.asList("YouTubeScopes.https://www.googleapis.com/auth/youtube.force-ssl YouTubeScopes.https://www.googleapis.com/auth/youtubepartner");
with following line:
private static final Collection<String> SCOPES = Arrays.asList("https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtubepartner");
Basically I just get rid of "YouTubeScopes" prefix and it has started to work.
I am getting error while showing Google maps on my Java swing application with Jxmaps.
It shows me
"Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details."
message on my map component.
Is there anyone to help me?
This error can be caused by missing or incorrect API KEY. Google Maps allows limited number of requests per day without API KEY.
Have you set it in JxMaps? You can do it with followed code:
MapViewOptions options = new MapViewOptions();
options.setApiKey("<YOUR_API_KEY>");
MapView view = new MapView(options);
More detailed information about Google Maps API keys you can find here: https://developers.google.com/maps/pricing-and-plans/