slack-api-docs icon indicating copy to clipboard operation
slack-api-docs copied to clipboard

Error codes lacking documentation

Open mpickering opened this issue 11 years ago • 3 comments

Thanks for your help so far. Is there a description of what the different error codes mean anywhere? For example it seems 1 corresponds to "Socket URL has expired" but I assume there are other undocumented codes as well?

{
    "type": "error",
    "error": {
        "code: 1,
        "msg": "Socket URL has expired"
    }
}

mpickering avatar Dec 23 '14 14:12 mpickering

+1 need RTM error code documentation

billinghamj avatar Apr 08 '15 08:04 billinghamj

Slack said they will not be updating that repo until they hire someone. We don't have to wait. I've pulled JSON files from https://github.com/slackhq/slack-api-docs into https://github.com/dblock/slack-api-ref, which I intend to maintain and kept JSON files only. Would love to get documented errors schema there.

dblock avatar Aug 27 '15 15:08 dblock

Thanks for this! We've now made a note to add error code clarification to our API docs and we'll hopefully have them updated soon. We'll keep an eye on issues here in future, but if you have questions or feedback, you can also email us at [email protected] for a speedier response. Thank you!

awalla avatar Sep 04 '15 13:09 awalla