Skip to content

Typing error in ContactList column type #21

Open
@APCBoston

Description

@APCBoston

When I use smartsheet.Sheets.get_column() to retrieve a column whose type is CONTACT_LIST, the returned JSON payload improperly reflects a column type TEXT_NUMBER. If I then call update_column() to update the contact list, the API returns an error:

"errorCode": 1090, "message": "Column.type is required when changing symbol, systemColumnType, options, contactOptions, or autoNumberFormat.", "refId": "h3w1i3"

All well and good, but if I then call update_column() with type set to CONTACT_LIST, I get a different error:

{"result": {"code": 1087, "errorCode": 1087, "message": "The column specified is used in a conditional formatting rule, so the column cannot be deleted and its type cannot be changed.", "name": "ApiError", "recommendation": "Do not retry without fixing the problem. ", "refId": "vuhctf", "shouldRetry": false, "statusCode": 400}}

Of course, I don't WANT to delete the column or change its type -- the type should already be CONTACT_LIST. When looking at the column properties in the web app, the type is correct: CONTACT_LIST. But for some reason the API thinks it is a TEXT_NUMBER and thus makes it impossible to update the contact list options!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions