Skip to content

500 on invalid attachment #7

@einzige

Description

@einzige

@cantino fails with 500:
https://github.com/einzige/mavenlink/wiki/Attachments

"A server error has occurred. If this problem persists, please contact support@mavenlink.com."

Works with correct attachment:

~ ❯❯❯ curl --form "attachment[data]=@test.rb" --form "attachment[type]=post_attachment" "https://api.mavenlink.com/api/v1/attachments.json" -H "Authorization: Bearer ****"

But response is weird:

{"id":16515055}%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions