{"action":"created","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/921","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/921/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/921/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/921/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/921","id":99595521,"number":921,"title":"Rejected file reasons","user":{"login":"roydondsouza","id":4233828,"avatar_url":"https://avatars.githubusercontent.com/u/4233828?v=3","gravatar_id":"","url":"https://api.github.com/users/roydondsouza","html_url":"https://github.com/roydondsouza","followers_url":"https://api.github.com/users/roydondsouza/followers","following_url":"https://api.github.com/users/roydondsouza/following{/other_user}","gists_url":"https://api.github.com/users/roydondsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/roydondsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roydondsouza/subscriptions","organizations_url":"https://api.github.com/users/roydondsouza/orgs","repos_url":"https://api.github.com/users/roydondsouza/repos","events_url":"https://api.github.com/users/roydondsouza/events{/privacy}","received_events_url":"https://api.github.com/users/roydondsouza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-07T07:27:34Z","updated_at":"2015-08-09T18:22:58Z","closed_at":null,"body":"If we add min and max size and accept types, can we know what was the reason the files were rejected in the rejectedFiles model? Or do we manually have to check it against our rules?"},"comment":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/comments/129223239","html_url":"https://github.com/danialfarid/ng-file-upload/issues/921#issuecomment-129223239","issue_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/921","id":129223239,"user":{"login":"roydondsouza","id":4233828,"avatar_url":"https://avatars.githubusercontent.com/u/4233828?v=3","gravatar_id":"","url":"https://api.github.com/users/roydondsouza","html_url":"https://github.com/roydondsouza","followers_url":"https://api.github.com/users/roydondsouza/followers","following_url":"https://api.github.com/users/roydondsouza/following{/other_user}","gists_url":"https://api.github.com/users/roydondsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/roydondsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roydondsouza/subscriptions","organizations_url":"https://api.github.com/users/roydondsouza/orgs","repos_url":"https://api.github.com/users/roydondsouza/repos","events_url":"https://api.github.com/users/roydondsouza/events{/privacy}","received_events_url":"https://api.github.com/users/roydondsouza/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T18:22:58Z","updated_at":"2015-08-09T18:22:58Z","body":"Thank you Danial\n\nRegards,\n\nRoydon D' Souza\nPh.: +91-9739791096\n\nDisclaimer Notice: This message contains confidential information and is\nintended only for the individual named. If you are not the named addressee\nyou should not disseminate, distribute or copy this e-mail. Please notify\nthe sender immediately by e-mail if you have received this e-mail by\nmistake and delete this e-mail from your system. E-mail transmission cannot\nbe guaranteed to be secure or error-free as information could be\nintercepted, corrupted, lost, destroyed, arrive late or incomplete, or\ncontain viruses. The sender therefore does not accept liability for any\nerrors or omissions in the contents of this message, which arise as a\nresult of e-mail transmission. If verification is required please request a\nhard-copy version.\n\nWARNING: Computer viruses can be transmitted via email. The recipient\nshould check this email and any attachments for the presence of viruses.\nThe company accepts no liability for any damage caused by any virus\ntransmitted by this email. E-mail transmission cannot be guaranteed to be\nsecure or error-free as information could be intercepted, corrupted, lost,\ndestroyed, arrive late or incomplete, or contain viruses. The sender\ntherefore does not accept liability for any errors or omissions in the\ncontents of this message, which arise as a result of e-mail transmission.\n\nAll Emails of Roydon D'Souza are managed by the MailBox.\nhttp://www.roydondsouza.com\n\nOn Sun, Aug 9, 2015 at 9:42 PM, Danial Farid <notifications@github.com>\nwrote:\n\n> Yes file.$error contains the reject reason, see the readme file.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/danialfarid/ng-file-upload/issues/921#issuecomment-129209995>\n> .\n>\n"}}