I'm trying to hit the Self-Service Hotel Search API through the Amadeus API Explorer.
It seems to work only for certain cities. For example, it works for the following request - city: PAR
https://test.api.amadeus.com/v1/shopping/hotel-offers?cityCode=PAR&radius=50&radiusUnit=KM&includeClosed=false&bestRateOnly=true&view=NONE&sort=NONE
However, if I change the cityCode to NYC or SFO, it gives a 500 interval server error
https://test.api.amadeus.com/v1/shopping/hotel-offers?cityCode=NYC&radius=50&radiusUnit=KM&includeClosed=false&bestRateOnly=true&view=NONE&sort=NONE
The error response -
{ code: 38189,
title: 'Internal error',
detail: 'An internal error occured, please contact your administrator',
status: 500 }
Thank you for reporting this issue, it was caused by a backend migration on our side.
We checked your query and it works now so everything should be fixed.
Keep in mind that our sandbox environment only offers a limited set of data to allow you to try the APIs and prototype with them.
We will be launching the production environment (and the tools to request migration to production) in Q4 2018.
Related
Hi I success fully integrated Test API but when I move to production it gives error and don't show any results in Search so from the start it gives error in production.
I change the Base URL as well.
Production keys are approved as well.
As far as I know I have followed the instructions for setting up the Microsoft Graph sample https://github.com/microsoftgraph/aspnet-snippets-sample, including joining the Microsoft 365 Developer Program. However when I run the sample and attempt to log in with my new Developer Program user I get the following error message:
Authentication error "Value cannot be null. (Parameter 'value')"
The error us being caught in this routine:
options.Events.OnAuthenticationFailed = context => {
var error = WebUtility.UrlEncode(context.Exception.Message);
context.Response
.Redirect($"/Home/ErrorWithMessage?message=Authentication+error&debug={error}");
context.HandleResponse();
return Task.FromResult(0);
};
If I log in with my personal Microsoft account then everything works fine, so I'm guessing this has something to do with my Developer Program account. The error message isn't very helpful and there not stack trace to speak of. I've tried using Fiddler to see if there's any more information but with no luck either. Any ideas about what I might be doing wrong?
Tested and reproduced the issue. You are getting this error because, as you have created application in one tenant and accessing the application with the Developer Program account(another tenant).
The Solution would be provide Provision for the application (service principal creation) Consent the application with the developer Program account(needs to be admin) if you want to use the application in developer tenant and Please below call
https://login.microsoftonline.com/common/oauth2/authorize?response_type=code&client_id=id&redirect_uri=https%3A%2F%2Flocalhost%3A44307%2F&prompt=admin_consent
After looking at the error messages in the output from the Kestrel web server I discovered that the line causing the problem was this one:
identity.AddClaim(new Claim(GraphClaimTypes.TimeZone, user.MailboxSettings.TimeZone));
and it was because the value of user.MailboxSettings.TimeZone was null. Once I set up a TimeZone in my developer account then everything works fine.
All of a sudden we are seeing this random error / exception in our web application.
Failed to load resource: the server responded with a status of 502 (Bad Gateway).
In the Log Stream, we are seeing the following details, with specific error code as 502.3 - Bad Gateway: Forwarder Connection Error (ARR).
Also, sometimes in the browser itself we see "The CGI application did not return a valid set of HTTP errors." getting displayed.
Most of the searches for these error codes refer to "IIS / Proxy Server" configuration. But, we haven't changed any such settings.
The error happens very randomly and not specific to any user action/function. Same functionality works first and on second execution immediately after first one throws this error.
How to figure out what is causing this and how to fix?
I google this question, because the program was normal at the beginning, and the subsequent 502.3 error. After I checked the information on the Internet, I feel that it can only give us an inspiration, and it cannot solve your problem immediately.
So my suggestion is that first you browse post1 and post2 I provided.
Next, proceed to Troubleshoot according to the steps of the official documentation. Specific errors require specific analysis.
I get the following error (after about 70 minutes):
Deployment failed. Correlation ID: c08a06db-70ea-4ab8-b123-b5b9b736d27f. Internal server error
West Europe was the location of the service.
An internal error can be a bit tricky to troubleshoot without access to the backend. Often we will see an internal error is displayed via the portal but the actual error surfaces on the backend.
Things to attempt:
1) Try deploying to a new region
2) Try deploying to a empty resource group
3) Try logging out of the portal and back in before recreating
If all else fails you will likely need to reach out to Microsoft via a Support ticket so they can check the error on the backend and let you know the actual reason.
I have staging Azure Mobile Service that has suddenly stopped working and started to report errors when called by other apps.
The direct Mobile Service URL is reporting "Error 403 - This web app is stopped." error at https://b8akjsms2-st.azure-mobile.net/ I am also unable to access the api from the Azure portal which throw this message:
Failed to download zip file for path '/site/repository/service/api/' in Mobile Service 'b8akJSMS2-st' If you contact a support representative please include this correlation identifier: 4ebe635c-bbb7-af06-a71a-532f0467e828, the time of error: 2016-06-10 11:40:36Z, and the error id: ZE6.
How can I resolve this issue?
I can see that the service is on the free tier and is over CPU quota limits. These will reset at midnight UTC each day (5pm PST). Please feel free to contact us if you have any questions.