Kevin
Kevin

Reputation: 759

An error occurred: Failed to process your item

Im trying to upload app to chrome webstore using developer dashboard. After upload ZIP file im getting this error

An error occurred: Failed to process your item.

The field permissions.http://webhvd.dincloud.com/ is not allowed in manifest.
The field content_scripts is not allowed in manifest.

I've already tested the app using chrome developer mode and it's working fine. No errors. Here's the manifest file:

{
    "app": {
    "launch": {
        "local_path": "main.html"
    }
},
"content_scripts": [ {
    "js": [ "jsfile.js" ],
    "matches": [ "http://*.example.com/*" ]
} ],
"content_security_policy": "default-src 'self'; script-src 'self' http://*.examplecom; style-src 'self' http://sub.example.com; img-src 'self' http://*.example.com; font-src *; connect-src 'self' http://sub.example.com ",
"default_locale": "en",
"description": "__MSG_PRODUCT_DESCRIPTION__",
"icons": {
    "128": "icon128.webp",
    "16": "icon16.webp",
    "48": "icon48.webp"
},
"manifest_version": 2,
"name": "__MSG_PRODUCT_NAME__",
"permissions": [ "http://sub.example.com/", "storage", "clipboardRead", "clipboardWrite" ],
"version": "1.2"
}

Any help will be highly appreciated.

Upvotes: 3

Views: 1502

Answers (1)

Chase Roberts
Chase Roberts

Reputation: 9376

I was having this same problem. I removed all the comments from my manifest file and that solved it for me. You may want to double check that the manifest you are uploading is comment free.

Upvotes: 3

Related Questions