Bug: errors slug is too long (max is 50 characters)

API
Goal Resource
Create a goal for a user

reports an erroneous error

request:

curl -X POST https://www.beeminder.com/api/v1/users/me/goals.json \
    -d auth_token=abc123 \
    -d slug=exercise \
    -d title=abcdefghijklmn123456789 \
    -d goal_type=hustler \
    -d goaldate=1400000000 \
    -d rate=5 \
    -d goalval=null

response:

"errors": {
    "slug": [
        "is too long (max is 50 characters)"
    ]
}
1 Like

seems to have been fixed in the meanwhile (http://beeminder.com/changelog#3751)

{
    "errors": {
        "slug": [
            "is too long (max is 20 characters)"
        ]
}
2 Likes