- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / templates / intros / pushMessaging.html
1 <h2 id="debugging">Debugging</h2>
2
3 <h3 id="internal-server-error">Internal Server Error</h3>
4
5 <p>
6 The Push Messaging server responds with HTTP status code 500
7 (internal server error) if the app that calls the pushMessaging API
8 is not found in the Chrome Web Store. This ownership check
9 is designed to prevent people from sending messages to your app
10 without your permission. Commonly this error occurs during
11 development if you run a version of your app without the correct
12 <code>key</code> attribute in its manifest file.
13 </p>
14
15 <p>
16 To fix this problem, simply install your app from
17 the Chrome Web Store and copy the <a href="manifest.html#key">key</a>
18 field from manifest.json in the installed app to manifest.json in
19 the version of the app that you are developing
20 (see <a href="cloudMessaging.html#test-cloud">Testing in the cloud</a> for
21 detailed instructions). Note that you need to remove the <code>key</code>
22 field from manifest.json before you upload the app to the Chrome Web Store again.
23 </p>