Closed kennym closed 7 years ago
I think I found the error: Mailjet::ApiError: error 500 while sending #<RestClient::Resource:0x007fd38dccfc00 @url="https://api.mailjet.com/v3/v3/REST/campaigndraft"
v3
is added in there twice.
@project manager
Constructive criticism... I see the same bug happening all over the place just doing a quick skim. Is V3 production-ready? The client still seems to need some work.
@kennym Thanks for your feedback. We will examine the wrapper and will get back to you as soon as we can.
Hi @kennym my apologies for the inconvenience. I'll accept your PR and soon take the time to revise the whole wrapper. Meanwhile if you find any other issues, feel free to report them.
Hi, I'm running the following command:
variable = Mailjet::Campaigndraft.create(locale: "en_US",sender: "Sender",sender_email: "***@***.com",subject: "Your deals of the week",contacts_list_id: "< LIST ID >",title: "Friday newsletter")
and get the following error:
"{ \"ErrorInfo\" : \"EFPWebError\", \"ErrorMessage\" : \"Could not determine HTTP module for request \\\"v3\\\"\", \"StatusCode\" : 500 }\n"
Any ideas of what's the cause?