Sabre API - Guyana Country Code & Airport Code not working - sabre

Good Evening,
I have been exploring the APIs and have found no support for flights to or from Guyana. I have tried using the instaflightsearch, flight fares, city pairs, lead price calendar, etc.
Everytime I try to enter the Guyana country code (GY) or the airport code of our main international airport (GEO), I get an error similar to:
Warning: file_get_contents(https://api.test.sabre.com/v2/shop/flights/fares?origin=GEO&destination=JFK&departuredate=2015-12-30&lengthofstay=3,4,5,6,7): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in APIHandler->get() (line 132 of C:\xampp\htdocs\drupal7\sites\all\modules\custom\sabre\classes\APIHandler.php).
Warning: file_get_contents(https://api.test.sabre.com/v1/lists/supported/shop/flights/origins-destinations?origincountry=GY): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in APIHandler->get() (line 132 of C:\xampp\htdocs\drupal7\sites\all\modules\custom\sabre\classes\APIHandler.php).
Note that if I use other airport codes such as JFK, LAX, LAS, etc., the APIs return results.
I am unsure how to proceed. I'm sure there is something I'm missing. Please point me in the right direction.
Thank you very much
Side Note: I am willing to give a 100 bounty to anyone who can help me out.

If you are using the Sandbox/Test environment for some APis, this is much more limited that real live PRODUCTION environment on the amount of Markets and CIty Pairs supported for search.
Read More here:
https://developer.sabre.com/docs/read/rest_basics/Point_of_sale
With Bargain Finder Max, you can test such from Dev Environment if needed.

Related

Amazon Advertising API: report is 'in progress' forever, until 'server is busy'

Is anybody else having trouble with Amazon Advertising reports this week or am I doing something wrong?
This was working just fine last week, then all of a sudden I couldn't get reports any more. Instead of requesting a report and it being available max 10 seconds later, I get this response:
{'reportId': 'snip', 'status': 'IN_PROGRESS', 'statusDetails': 'Report generation is in progress.'}
Which is nothing out of the ordinary. Then a few minutes later I start getting this:
{'reportId': 'snip', 'status': 'IN_PROGRESS', 'statusDetails': 'Report generation job has been submitted.'}
And then eventually:
{'code': 'SERVER_IS_BUSY', 'details': 'Server is busy. Try again later.', 'requestId': 'snip'}
Authentication seems to be fine, I think I wouldn't be able to request a report without that working. And I think if I was getting throttled it would tell me that. FYI this is happening in the US and CA stores.
Aside: the Advertising API is such a hard one to google, given that its name is a subset of the Product Advertising API, which is completely different. Hopefully Amazon, given how often they change the names of things, decide to rename this one too.
EDIT: only having this problem with Sponsored Products reports. Sponsored Brands seems to be ok.
We use the same API as well, we are getting the same issue and their API has not been stable lately.

Woocommerce gateway error "unable to process order this gateway is offline"

Some of my customers keep getting this error when attempting an "Offline Payment". Strange thing is it only happens to customers from the northeast portion of the country. Mainly Rhode Island and Maine. I successfully receive orders through the same process from all over the country. Any idea what may be causing this? Much appreciated!

Error quests for Google Map Elevation API

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...

Gracenote Web API is failing on ALBUM_TOC query

I have been using the Gracenote Web API in an application for the last year without any issues. Suddenly a couple weeks ago, my application stopped working. I am receiving the following error in response to a simple ALBUM_TOC query:
<RESPONSES>
<MESSAGE>GCSP: Hello error: [130] Please contact Gracenote ODP 00431 [Name: ***** *******] [App: ********] support.
[Gracenote Error 130/74]</MESSAGE>
<RESPONSE STATUS="ERROR">
</RESPONSE>
</RESPONSES>
I have no idea what this means. The developer site hasn't been any help, and there doesn't seem to be any way to "contact Gracenote ODP" (at least no way that I can find).
I found this Stackoverflow question, which appears to be strongly related to my issue. However, I get no hex number that I can look up. Also, when I attempt to create a new app on developer.gracenote.com, the only option I am given is to choose the Entourage platform, which is of no use to me.
Any idea how I can resolve this error?
(One other key point: this is a personal app, and one that I didn't use for several weeks before encountering the error, so it can't possibly be a quota issue.)

Gracenote Entourage Error 130/74

I first created my Gracenote developer account last night, and without issue, was able to match TV shows using the sample applications.
However today, I'm receiving the following error continuously:
ERROR GCSP: Hello error: [130] Please contact Gracenote ODP 06176 [Name: Mark Pringle] [App: Echos Imterface] support.
[Gracenote Error 130/74] (0x90160165)
Any help would be much appreciated!
The GNSDK error code is the last 4 digits of the hex number at the end. If you check out the gnsdk_error_codes.h file, you can see that 0165 is GNSDKERR_InvalidClientID.
Assuming you are still setting your ID correctly, I am not sure why such an error would be returned by the servers. I could hazard some guesses (maybe you went so far past your quotas that they blocked it?) but I don't really know.
Either way, I would recommend getting a new client ID from the Gracenote dev site and see if that works.
hope this helps!

Resources