{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/2657","repository_url":"https://api.github.com/repos/mozilla/addons-server","labels_url":"https://api.github.com/repos/mozilla/addons-server/issues/2657/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/2657/comments","events_url":"https://api.github.com/repos/mozilla/addons-server/issues/2657/events","html_url":"https://github.com/mozilla/addons-server/issues/2657","id":154596748,"number":2657,"title":"Duplicate add-on ID found when using curl, but OK through web page upload","user":{"login":"brunosabin","id":8375970,"avatar_url":"https://avatars.githubusercontent.com/u/8375970?v=3","gravatar_id":"","url":"https://api.github.com/users/brunosabin","html_url":"https://github.com/brunosabin","followers_url":"https://api.github.com/users/brunosabin/followers","following_url":"https://api.github.com/users/brunosabin/following{/other_user}","gists_url":"https://api.github.com/users/brunosabin/gists{/gist_id}","starred_url":"https://api.github.com/users/brunosabin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunosabin/subscriptions","organizations_url":"https://api.github.com/users/brunosabin/orgs","repos_url":"https://api.github.com/users/brunosabin/repos","events_url":"https://api.github.com/users/brunosabin/events{/privacy}","received_events_url":"https://api.github.com/users/brunosabin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/addons-server/labels/signing","name":"signing","color":"0e8a16"},{"url":"https://api.github.com/repos/mozilla/addons-server/labels/triaged","name":"triaged","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-05-12T22:35:30Z","updated_at":"2016-07-19T15:43:20Z","closed_at":null,"body":"Using the curl command:\r\n\r\n    curl https://addons.mozilla.org/api/v3/addons/@{51154b97-c607-43f0-ad88-dda01a32a1e3}/versions/10.3.10.25/ -g -XPUT --form 'upload=@npvverck.xpi' -H 'Authorization: JWT XXX-EDITED-XXX'\r\n\r\nI get the output:\r\n\r\n    {\"error\":\"Duplicate add-on ID found.\"}\r\n\r\nHowever, if I try to upload the very same XPI file through the URL https://addons.mozilla.org/en-US/developers/addon/creo-view-version-checker/ then I get a successful upload/signature.\r\n\r\nWe did create the addon entry to test signing in the ealry days of the new signing service and I wonder if we caused some confusion on the server side."},"comment":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/comments/233674752","html_url":"https://github.com/mozilla/addons-server/issues/2657#issuecomment-233674752","issue_url":"https://api.github.com/repos/mozilla/addons-server/issues/2657","id":233674752,"user":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T15:43:20Z","updated_at":"2016-07-19T15:43:20Z","body":"3) please go to https://addons.mozilla.org/en-US/developers/addon/api/key/ and revoke and regenerate a new set of credentials and update the credentials you have stored."}}
{"actor":{"display_login":"andymckay"}}