{"action":"created","issue":{"url":"https://api.github.com/repos/shahriarhossain/MailChimp.Api.Net/issues/19","repository_url":"https://api.github.com/repos/shahriarhossain/MailChimp.Api.Net","labels_url":"https://api.github.com/repos/shahriarhossain/MailChimp.Api.Net/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/shahriarhossain/MailChimp.Api.Net/issues/19/comments","events_url":"https://api.github.com/repos/shahriarhossain/MailChimp.Api.Net/issues/19/events","html_url":"https://github.com/shahriarhossain/MailChimp.Api.Net/issues/19","id":156727897,"number":19,"title":"Issue while creating campaign and sending mails using MailChimp.Api.Net wrapper","user":{"login":"shaishil","id":19570557,"avatar_url":"https://avatars.githubusercontent.com/u/19570557?v=3","gravatar_id":"","url":"https://api.github.com/users/shaishil","html_url":"https://github.com/shaishil","followers_url":"https://api.github.com/users/shaishil/followers","following_url":"https://api.github.com/users/shaishil/following{/other_user}","gists_url":"https://api.github.com/users/shaishil/gists{/gist_id}","starred_url":"https://api.github.com/users/shaishil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaishil/subscriptions","organizations_url":"https://api.github.com/users/shaishil/orgs","repos_url":"https://api.github.com/users/shaishil/repos","events_url":"https://api.github.com/users/shaishil/events{/privacy}","received_events_url":"https://api.github.com/users/shaishil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-25T11:34:49Z","updated_at":"2016-05-25T13:54:35Z","closed_at":null,"body":"we were able to send the campaign with the help of the wrapper provided by you.\r\nBut,while setting the campaign content,we are not able to insert the template along with the email content.Request your help on this.When we send the campaign, the template is not getting reflected along with the email content. \r\nWe are using SetCampaignContentAsync() But when we try attaching the template, we are getting a 'Bad request' error. Seems like there is some issue with the authentication\r\nthis is the error I am getting\r\n{StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:\r\n{\r\n  X-Request-Id: d4f0aa12-fd9f-41aa-aeee-7a0c144a5d08\r\n  Link: <https://us13.api.mailchimp.com/schema/3.0/ProblemDetailDocument.json> (https://us13.api.mailchimp.com/schema/3.0/ProblemDetailDocument.json%3E) ; rel=\"describedBy\"\r\n  Connection: close\r\n  Date: Wed, 25 May 2016 12:21:12 GMT\r\n  Set-Cookie: _AVESTA_ENVIRONMENT=prod; path=/\r\n  Server: nginx\r\n  Content-Length: 346\r\n  Content-Type: application/problem+json; charset=utf-8\r\n}} "},"comment":{"url":"https://api.github.com/repos/shahriarhossain/MailChimp.Api.Net/issues/comments/221583338","html_url":"https://github.com/shahriarhossain/MailChimp.Api.Net/issues/19#issuecomment-221583338","issue_url":"https://api.github.com/repos/shahriarhossain/MailChimp.Api.Net/issues/19","id":221583338,"user":{"login":"shaishil","id":19570557,"avatar_url":"https://avatars.githubusercontent.com/u/19570557?v=3","gravatar_id":"","url":"https://api.github.com/users/shaishil","html_url":"https://github.com/shaishil","followers_url":"https://api.github.com/users/shaishil/followers","following_url":"https://api.github.com/users/shaishil/following{/other_user}","gists_url":"https://api.github.com/users/shaishil/gists{/gist_id}","starred_url":"https://api.github.com/users/shaishil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaishil/subscriptions","organizations_url":"https://api.github.com/users/shaishil/orgs","repos_url":"https://api.github.com/users/shaishil/repos","events_url":"https://api.github.com/users/shaishil/events{/privacy}","received_events_url":"https://api.github.com/users/shaishil/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T13:54:35Z","updated_at":"2016-05-25T13:54:35Z","body":"Actually we don't want to create our templates using code , we just want to use the templates already created in mailchimp by us.We need to create campaign from code provided in the wrapper and attach the already present templates in mailchimp.  So the issue occurs while attaching the already present template to the campaign using SetCampaignContentAsync() method.\r\n"}}
{"actor":{"display_login":"shaishil"}}