{"id":20285,"date":"2023-01-18T09:54:08","date_gmt":"2023-01-18T09:54:08","guid":{"rendered":"https:\/\/44.225.35.201\/testrail\/docs\/801\/api-manual\/getting-started-with-testrail-api\/error-handling\/"},"modified":"2023-09-28T18:35:29","modified_gmt":"2023-09-28T09:35:29","slug":"error-handling","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/api-manual\/getting-started-with-testrail-api\/error-handling\/","title":{"rendered":"\u30a8\u30e9\u30fc\u51e6\u7406"},"content":{"rendered":"<p>API \u306f\u6a19\u6e96\u306e HTTP \u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9\u306b\u3088\u3063\u3066\u30a8\u30e9\u30fc\u3092\u901a\u77e5\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u6210\u529f\u3059\u308b\u3068<strong> 2XX<\/strong> \u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9\u304c\u8fd4\u3055\u308c\u3001\u30a8\u30e9\u30fc\u306f<strong> 4XX<\/strong> \u307e\u305f\u306f <strong>5XX<\/strong> \u3067\u5831\u544a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>TestRail API \u3092\u4f7f\u7528\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001<strong>\uff15XX<\/strong> \u30a8\u30e9\u30fc\u306b\u5bfe\u51e6\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001<strong>\uff15XX<\/strong>\u00a0 \u306e\u5834\u5408\u306f\u5f8c\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u518d\u8a66\u884c\u3059\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u3066\u3044\u307e\u3059\u3002 <strong>\uff14XX<\/strong> \u30a8\u30e9\u30fc\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u30a8\u30e9\u30fc\u3067\u3042\u308a\u3001\u901a\u5e38\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u4e0d\u6b63\u3001\u307e\u305f\u306f\u4e0d\u5b8c\u5168\u3067\u3042\u308b\u3053\u3068\u3001\u305f\u3068\u3048\u3070\u5b58\u5728\u3057\u306a\u3044\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u3092\u8aad\u307f\u53d6\u308d\u3046\u3068\u3057\u3066\u3044\u308b\u3001\u307e\u305f\u306f\u7121\u52b9\u306a\u8981\u6c42\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u793a\u3057\u307e\u3059\u3002\u4e0b\u8a18\u306e\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9\u305d\u308c\u305e\u308c\u306b\u3064\u3044\u3066\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u30dc\u30c7\u30a3\u306b\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u6210\u529f\u307e\u305f\u306f\u5931\u6557\u306b\u95a2\u3059\u308b\u8ffd\u52a0\u306e\u60c5\u5831\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<h2 id=\"01G6J8Q022Z7BVAK0ZRSBG8JBR\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30b3\u30fc\u30c9<\/h2>\n<table class=\"table table--hover\" width=\"1198\" height=\"173\">\n<thead>\n<tr>\n<th>\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code class=\"inline-code api_code_2xx\">200<\/code><\/td>\n<td>\u6210\u529f\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code api_code_4xx\">400<\/code><\/td>\n<td>\u30ea\u30af\u30a8\u30b9\u30c8\u3055\u308c\u305f\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u304c\u5b58\u5728\u3057\u306a\u3044\u304b\u3001POST \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30dc\u30c7\u30a3\u306e\u66f8\u5f0f\u304c\u9069\u5207\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code api_code_4xx\">401<\/code><\/td>\n<td>\u8a8d\u8a3c\u304c\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u8a8d\u8a3c\u60c5\u5831\u304c\u7121\u52b9\u3067\u3042\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code api_code_4xx\">403<\/code><\/td>\n<td>\u30a2\u30af\u30bb\u30b9\u304c\u62d2\u5426\u3055\u308c\u307e\u3057\u305f\u3002\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u304c\u9069\u5207\u3067\u306f\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code api_code_4xx\">404<\/code><\/td>\n<td>API \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u5b58\u5728\u3057\u307e\u305b\u3093\u3002<\/td>\n<\/tr>\n<tr>\n<td><code class=\"inline-code api_code_5xx\">500<\/code><\/td>\n<td>\u30b5\u30fc\u30d0\u30fc \u30a8\u30e9\u30fc\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"01G68HCTTNHFT1WVDXKW4BC4WP\"><span id=\"API\">API \u30ec\u30fc\u30c8\u5236\u9650<\/span><\/h2>\n<p>\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u6700\u9069\u306a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u4fdd\u8a3c\u3059\u308b\u305f\u3081\u3001TestRail Cloud \u3067\u306f\u3001API \u306f\u30ec\u30fc\u30c8\u5236\u9650\u3055\u308c\u3066\u304a\u308a\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u7d5e\u3089\u308c\u308b\u5834\u5408\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001TestRail \u306f 429 Too Many Requests \u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3059\u5834\u5408\u304c\u3042\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u3053\u308c\u306b\u5bfe\u51e6\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>TestRail Cloud \u3067\u30ec\u30fc\u30c8\u5236\u9650\u3092\u907f\u3051\u308b\u306b\u306f\u3001\u4e00\u62ec API \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u305f\u308a (add_results_for case \u3067\u306f\u306a\u304f add_results_for_cases \u3092\u4f7f\u7528\u3059\u308b\u306a\u3069)\u3001API \u547c\u3073\u51fa\u3057\u306e\u9593\u306b\u9045\u5ef6\u6642\u9593\u3092\u8a2d\u3051\u308b\u3053\u3068\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>[et_pb_text admin_label=&#8221;Note&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#F0F8FF&#8221; hover_enabled=&#8221;0&#8243; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#b0c4de&#8221;]<\/p>\n<p>TestRail Server \u306b\u306f API \u30ec\u30fc\u30c8\u5236\u9650\u306f\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>[\/et_pb_text]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>API \u306f\u6a19\u6e96\u306e HTTP \u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9\u306b\u3088\u3063\u3066\u30a8\u30e9\u30fc\u3092\u901a\u77e5\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u6210\u529f\u3059\u308b\u3068 2XX \u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9\u304c\u8fd4\u3055\u308c\u3001\u30a8\u30e9\u30fc\u306f 4XX \u307e\u305f\u306f 5XX \u3067\u5831\u544a\u3055\u308c\u307e\u3059\u3002 TestRail API  [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":6735,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-20285","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/20285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/comments?post=20285"}],"version-history":[{"count":16,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/20285\/revisions"}],"predecessor-version":[{"id":26153,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/20285\/revisions\/26153"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/6735"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=20285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}