Skip to content
Sergei Zinin edited this page Apr 1, 2014 · 1 revision
2.0.0-p247 :001 > attachment = Mavenlink::Attachment.create(type: 'post_attachment', data: 'some data')
I, [2014-04-01T21:54:11.633565 #98436]  INFO -- : [Maven] Started POST /attachments with {"attachment"=>{"data"=>"some data", "type"=>"post_attachment"}}
I, [2014-04-01T21:54:13.868236 #98436]  INFO -- : [Maven] Received response:
I, [2014-04-01T21:54:13.868906 #98436]  INFO -- : {
  "errors" => [
    [0] {
      "message" => "A server error has occurred.  If this problem persists, please contact support@mavenlink.com.",
         "type" => "system"
    }
  ]
}
I, [2014-04-01T21:54:13.868952 #98436]  INFO -- : [Maven] REQUEST FAILED:
I, [2014-04-01T21:54:13.869292 #98436]  INFO -- : [
  [0] {
    "message" => "A server error has occurred.  If this problem persists, please contact support@mavenlink.com.",
       "type" => "system"
  }
]
Mavenlink::InvalidRequestError: {"errors"=>[{"type"=>"system", "message"=>"A server error has occurred.  If this problem persists, please contact support@mavenlink.com."}]}
Clone this wiki locally