{"action":"created","issue":{"url":"https://api.github.com/repos/Gandi/gandi.cli/issues/143","labels_url":"https://api.github.com/repos/Gandi/gandi.cli/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/Gandi/gandi.cli/issues/143/comments","events_url":"https://api.github.com/repos/Gandi/gandi.cli/issues/143/events","html_url":"https://github.com/Gandi/gandi.cli/issues/143","id":95365322,"number":143,"title":"[Feature request] Don't limit scripts to 16384 characters","user":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-16T07:00:49Z","updated_at":"2015-07-16T16:55:12Z","closed_at":"2015-07-16T16:55:12Z","body":"Looks like the ```--script``` parameter of the ```gandi vm create``` command passes the file content as a string. But the API don't want it to be more than 16384 characters.\r\n\r\nGot:\r\n```\r\nError: Gandi API has returned an error: <Fault 501237: 'Error on object : OBJECT_STRING (CAUSE_BADPARAMETER) [script: string \\'### REDACTED SCRIPT CONTENT ###\\' has more than 16384 chars]'>\r\n```\r\n\r\nIs it possible to overcome this limit?"},"comment":{"url":"https://api.github.com/repos/Gandi/gandi.cli/issues/comments/122021145","html_url":"https://github.com/Gandi/gandi.cli/issues/143#issuecomment-122021145","issue_url":"https://api.github.com/repos/Gandi/gandi.cli/issues/143","id":122021145,"user":{"login":"kalou","id":2204366,"avatar_url":"https://avatars.githubusercontent.com/u/2204366?v=3","gravatar_id":"","url":"https://api.github.com/users/kalou","html_url":"https://github.com/kalou","followers_url":"https://api.github.com/users/kalou/followers","following_url":"https://api.github.com/users/kalou/following{/other_user}","gists_url":"https://api.github.com/users/kalou/gists{/gist_id}","starred_url":"https://api.github.com/users/kalou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalou/subscriptions","organizations_url":"https://api.github.com/users/kalou/orgs","repos_url":"https://api.github.com/users/kalou/repos","events_url":"https://api.github.com/users/kalou/events{/privacy}","received_events_url":"https://api.github.com/users/kalou/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T16:55:12Z","updated_at":"2015-07-16T16:55:12Z","body":"Hm given the dirty way we upload script to the API (xmlrpc value post) and how we hand it to the VM, I'd rather not extend this too much - having users getting used to this for now. Probably worth fixing when we have a more appropriate upload handling ?"}}