{"action":"created","issue":{"url":"https://api.github.com/repos/kevinobee/Sitecore.Ship/issues/39","labels_url":"https://api.github.com/repos/kevinobee/Sitecore.Ship/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/kevinobee/Sitecore.Ship/issues/39/comments","events_url":"https://api.github.com/repos/kevinobee/Sitecore.Ship/issues/39/events","html_url":"https://github.com/kevinobee/Sitecore.Ship/issues/39","id":90271471,"number":39,"title":"Nancy.Json.JsonSettings.MaxJsonLength exceeded","user":{"login":"DThrasher","id":11574967,"avatar_url":"https://avatars.githubusercontent.com/u/11574967?v=3","gravatar_id":"","url":"https://api.github.com/users/DThrasher","html_url":"https://github.com/DThrasher","followers_url":"https://api.github.com/users/DThrasher/followers","following_url":"https://api.github.com/users/DThrasher/following{/other_user}","gists_url":"https://api.github.com/users/DThrasher/gists{/gist_id}","starred_url":"https://api.github.com/users/DThrasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DThrasher/subscriptions","organizations_url":"https://api.github.com/users/DThrasher/orgs","repos_url":"https://api.github.com/users/DThrasher/repos","events_url":"https://api.github.com/users/DThrasher/events{/privacy}","received_events_url":"https://api.github.com/users/DThrasher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-23T02:55:51Z","updated_at":"2015-06-23T06:57:43Z","closed_at":null,"body":"When installing a large package for the Sitecore Master database (this was a multi-site solution) I recieve the following error in the Sitecore logs from Sitecore Ship:\r\n\r\n> Exception: System.InvalidOperationException\r\n> Message: Nancy.Json.JsonSettings.MaxJsonLength exceeded\r\n> Source: Nancy\r\n> [stack trace with lots of Json Serialization stuff]\r\n\r\nWhen this error occurs, the items are not installed to the Sitecore instance.\r\n\r\nSmaller packages, such as the one I used for the Core database, work just fine. \r\n\r\nI think the problem is that the Json string that lists the item Ids that were added to Sitecore exceeds the  mono serializer's max length. I found a handful of blog posts discussing this issue, for example: http://ouarzy.azurewebsites.net/?p=441\r\n\r\nMy feature request is a switch to disable the reporting of the item Ids. "},"comment":{"url":"https://api.github.com/repos/kevinobee/Sitecore.Ship/issues/comments/114383942","html_url":"https://github.com/kevinobee/Sitecore.Ship/issues/39#issuecomment-114383942","issue_url":"https://api.github.com/repos/kevinobee/Sitecore.Ship/issues/39","id":114383942,"user":{"login":"kevinobee","id":1688482,"avatar_url":"https://avatars.githubusercontent.com/u/1688482?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinobee","html_url":"https://github.com/kevinobee","followers_url":"https://api.github.com/users/kevinobee/followers","following_url":"https://api.github.com/users/kevinobee/following{/other_user}","gists_url":"https://api.github.com/users/kevinobee/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinobee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinobee/subscriptions","organizations_url":"https://api.github.com/users/kevinobee/orgs","repos_url":"https://api.github.com/users/kevinobee/repos","events_url":"https://api.github.com/users/kevinobee/events{/privacy}","received_events_url":"https://api.github.com/users/kevinobee/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T06:57:43Z","updated_at":"2015-06-23T06:57:43Z","body":"Interesting request, do you fancy having a go at implementing it and sending through a PR?\r\n\r\nAnother approach is outlined in this post on [MaxJsonLength property with Nancy](http://ouarzy.azurewebsites.net/?p=441). This post documents increasing the max json length that your server can transfer to your client.\r\n\r\n    JsonSettings.MaxJsonLength = Int32.MaxValue"}}