Watercress RESTful API status and error codes

Source: Internet
Author: User
Tags unsupported

The Watercress API uses HTTP status code to indicate the success of the API request. The following table shows the possible HTTP status code and what it means

Status code Meaning Description
200 Ok Request succeeded
201 CREATED Created successfully
202 ACCEPTED Update successful
400 Bad REQUEST The requested address does not exist or contains unsupported parameters
401 Unauthorized Not authorized
403 FORBIDDEN Access is forbidden
404 Not FOUND The requested resource does not exist
500 INTERNAL SERVER ERROR Internal Error
Generic error codes, specific products are given by the specific product API documentation.

Error code Error message Meaning Status code
999 Unknow_v2_error Unknown error 400
1000 Need_permission Require permissions 403
1001 Uri_not_found Resource does not exist 404
1002 Missing_args Parameter not complete 400
1003 Image_too_large The uploaded picture is too big 400
1004 Has_ban_word Enter a prohibited word 400
1005 Input_too_short The input is empty, or the input word is not enough 400
1006 Target_not_fount The related object does not exist, such as when replying to a post, found that the group was deleted 400
1007 Need_captcha Need verification code, wrong verification code 403
1008 Image_unknow Unsupported picture formats 400
1009 Image_wrong_format Incorrect photo format (only jpg,jpeg,gif,png or BMP supported) 400
1010 Image_wrong_ck Access private picture CK validation Error 403
1011 Image_ck_expired Access private picture CK expired 403
1012 Title_missing The topic is empty 400
1013 Desc_missing Description is empty 400

Watercress RESTful API status and error codes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.