I am writing a R script to crawl evelatio for a large number of GPS points, using XML and RCurl package.
With the help of Google Map Elevation API, it's useful to get the evelation value.
Here I notice that the maximum number of locations in a request is 512.
The script works fine when there are like 100 GPS points in a requests. So I tried to get 512 elevation values at a request, as I have too many GPS poins.
However, the scrip returns an error saying
Failed to connect to maps.googleapis.com port 443: Timed out
And when I type the url of the request with 512 GPS locations in Chrome, there is also an error, saying
error 413 request entity too large
Did I misunderstand what Google says for the limit of this API? Or does anyone know whats the problem? And how to solve that?
Error fixed by reducing the number of locations in a request and setting system pause for request error. Though it costs some time, it's fine for my case. For guy who have millions of GPS points, I think it's still a problem...
Related
Yesterday, about 1500 PST, my connection to the translation API began emitting errors about exceeding:
Error 8: RESOURCE EXHAUSTED: Quota Error
Quota exceeded for quota metric ‘v2 and v3 general model characters’ and limit ‘v2 and v3 general model characters per day’.
I have googled online, and found this can happen, and that it resets at 0000 hours PST. This time has come and gone, and second day now, the same Error 8 is arriving when attempting to access the service.
I have also signed in to my console, and looked at my quotas. None of them are over-quota, or have they been in the last 7 days. (I’m no where near the limits)
I had a spike (bug) where the code got into a bad state and spammed the API retrying the request, and I’ve found an fixed this issue. This was yesterday, so I don’t know why it’s still giving errors.
OK so I found the answer. My credit card had expired, and the billing was overdue. Unfortunately this is not obvious in any of the errors, or many of the pages the google search results point to (check quotas etc)…hopefully this helps someone else who searches.
I would like to load data from Google Analytics into Power BI.
After transforming the data in the Query Editor, I apply the changes.
At first, I see the message 'Waiting for www.googleapis.com' and the number of rows increases.
After a while, I get the following error message:
Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] There was an internal error..'
Rows with errors have been removed in one of the steps and I have a stable Internet connection.
Does anyone have suggestions on how to solve this?
I was also facing this kind of refreshing issue, First go to edit query and verify the data types and change the data types if needed, after that if you still facing this error, you need to keep open the app.powerbi.com while refresh your PBI dashboard, I was followed the above steps and my issue got resolved now.
I am using heremaps calculate route api to get distance and time between two locations. I saw errors documentation and observed SYSTEM ERROR : errors that are thrown due to technical reasons. Can some one elaborate what might possibly lead to this type of error.
Usually routing API cause error because the documentation request contains spaces in the request-
https://route.ls.hereapi.com/routing/7.2/calculateroute.json
?apiKey={YOUR_API_KEY}
&waypoint0=geo!52.5,13.4
&waypoint1=geo!52.5,13.45
&mode=fastest;car;traffic:disabled
To avoid such type of error please remove all the spaces in the request like below-
https://route.ls.hereapi.com/routing/7.2/calculateroute.json?apiKey={}&waypoint0=geo!52.5,13.4&waypoint1=geo!52.5,13.45&mode=fastest;car;traffic:disabled
I am using flex remoting to php, and it works very well, except I occasionally get these 'Invalid URL' fault messages.
In the message below, notice it is using an ip address. SO, no dns lookup issue.
There are usually minimum 10, up to 50 users logged in to this application at one time and there are only a few faults (not at the same time), so I dont think it was a server or larger network issue.
This particular message is to the PollService, so that tells me this user has already communicated with the server a number of times. For example, to log in and to load across other data. The polling is an every 10 seconds flex timer that calls the remote service.
SO, I am trying to figure out if this is an error on the server side, returning something flex did not like, or if it is in fact some lower level network/communications issue, OR possibly something else like an internal flex glitch? Then I would like to figure out how to appropriately handle this fault - maybe re-transmit after a delay?
PollService Send failed Client.Error.MessageSend Channel.Connect.Failed error Invalid URL url:
'http://172.16.10.26:80/amf/indexPoll.php' [ChannelFaultEvent faultCode="Channel.Connect.Failed"
faultString="error" faultDetail="Invalid URL url: 'http://172.16.10.26:80/amf/indexPoll.php'" channelId=null
type="channelFault" bubbles=false cancelable=false eventPhase=2]
Thanks!
I'm developing a FTP server, and I would need the file size before the STOR happens, I have seen that there is a command called ALLO, and I was wondering if there is a way to force the client to issue that command, because the client, of course, knows the file size before hand.
Cheers.
I think #Rob Adams is going the right direction, but I disagree with sending 552, which says you are aborting the transfer; I think that holding the request until they send ALLO is a more useful approach. Reading through RFC 959:
This (ALLO) command may be required by some servers to reserve
sufficient storage to accommodate the new file to be
transferred...
Section 4.2 lists the valid format of replies, where you can display the error on the first line, and elaborate on the requirement for ALLO on the 2nd line.
Furthermore, Section 4.2.2 lists this message... 350 Requested file action pending further information.
It seems reasonable that if your server receives a request to store before recieving an ALLO, it should throw a 350 and hold the transfer until either you get a session timeout, close or they send an ALLO.
Just a guess -- you could return 552 - Exceeded storage allocation (for current directory or
dataset).
for the STOR.