Forbidden in request on server, working fine on local
I've tried it says forbidden Pls check try {
//ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
var xeroToken = (XeroOAuth2Token)await _XeroClient.RequestXeroTokenAsync(code);
List<Tenant> tenants = await _XeroClient.GetConnectionsAsync(xeroToken);
Tenant firstTenant = tenants[0];
TokenUtilities.StoreToken(xeroToken);
}
catch (Exception ex)
{
}
in call back error code I've checked code and state are coming
Hello! Which Xero organisation did you try to connect may I ask?
I've only one organisation .. which I am selecting .. and only one App .. that should not be a problem..
I have VM starting 111.XXXXX.X3.241:7070... is it causing the problem.. It is working fine in local machine ...
Is absence of a domain name causing the error ..pls help
Please could you contact Xero's API Support team using this link https://developer.xero.com/contact-xero-developer-platform-support and include your client id and date and time of the last error (and the timezone)