Comments (3)
What is the HTTP status code of the response you are getting? If 401, make sure the credentials are correct (http://msdn.microsoft.com/en-us/library/windows/apps/hh761462.aspx#notification_request_returns__401_unauthorized_).
Also make sure you follow the "troubleshooting" advice at http://msdn.microsoft.com/en-us/library/windows/apps/hh465391.aspx#troubleshooting_toast, in particular the "Check app manifest entries". Toast notifications must be explicitly enabled in the Windows 8 application (although I am not sure if having them disabled would manifest itself with a rejection on send).
from wns.
The status code is coming 200.
SYED HAIDER ABBAS RIZVI
Date: Fri, 17 Aug 2012 09:58:59 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [wns] Authentication Error (#4)
What is the HTTP status code of the response you are getting? If 401, make sure the credentials are correct (http://msdn.microsoft.com/en-us/library/windows/apps/hh761462.aspx#notification_request_returns__401_unauthorized_).
Also make sure you follow the "troubleshooting" advice at http://msdn.microsoft.com/en-us/library/windows/apps/hh465391.aspx#troubleshooting_toast, in particular the "Check app manifest entries". Toast notifications must be explicitly enabled in the Windows 8 application (although I am not sure if having them disabled would manifest itself with a rejection on send).
—
Reply to this email directly or view it on GitHub.
from wns.
I just Checked the whole thing my uri is correct , client_id is correct and client_secret is also correct plus I'm getting the access code from the WNS cloud maybe sending parameters of the TextToast01 is becoming the reason of this error, just sending you the code which is as below:
//options includes my client id & secret key
// channel includes URI
wns.sendToastText01(channel,'haider',options,function(error,result) {
if(error)
{
console.error('Error in Sending: '+ resp.statusCode);
console.log('Error in sending toast :'+ error);
}
else
{
console.log(result);
console.log('Toast Send: '+ result);
}
});
from wns.
Related Issues (18)
- Text properties on payload should accept primitive types
- let exceptions thrown in callbacks propagate
- Add support for launch attribute on toast HOT 1
- add support for sendRaw
- Allow sending multiple tiles in a single payload HOT 1
- Add support for large tiles
- "x-wns-notificationstatus" header is being replaced by "x-wns-status"
- The 'attention' badge icon code is not supported.
- Current error handling prevents easy push to many recipients
- toast notifications coming through as raw. HOT 8
- New templates HOT 1
- Error: version not found: [email protected]
- Duplicate line in package.json
- Update Dependancies
- Accept `timeout` parameter
- push notification multiple devices in one request
- WNS via HTTP proxy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wns.