{"id":272976,"date":"2023-12-29T10:37:48","date_gmt":"2023-12-29T01:37:48","guid":{"rendered":"https:\/\/www.singapore-startup.com\/?p=272976"},"modified":"2023-12-29T10:37:48","modified_gmt":"2023-12-29T01:37:48","slug":"%e3%80%90%e5%ae%8c%e5%85%a8%e7%89%88%e3%80%91teams-webhook-400-bad-request%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e8%a7%a3%e6%b6%88%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.singapore-startup.com\/?p=272976","title":{"rendered":"\u3010\u5b8c\u5168\u7248\u3011Teams Webhook 400 Bad Request\u30a8\u30e9\u30fc\u306e\u89e3\u6d88\u6cd5"},"content":{"rendered":"<div class=\"aafe36d7afa19a8010513acdd90193c0\" data-index=\"1\" style=\"float: none; margin:0px 0 0px 0; text-align:center;\">\n<center>Sponsored Link<\/center>\r\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- Article upper_singapore-startup.com -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-8303070969424899\"\r\n     data-ad-slot=\"5656608650\"\r\n     data-ad-format=\"rectangle\"><\/ins>\r\n<script>\r\n(adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<h1>Teams Webhook 400 Bad Request: \u5b8c\u5168\u306a\u89e3\u6c7a\u30ac\u30a4\u30c9<\/h1>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u3000Microsoft Teams\u306eWebhook\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u300c400 Bad Request\u300d\u30a8\u30e9\u30fc\u306b\u76f4\u9762\u3059\u308b\u3053\u3068\u306f\u3001\u958b\u767a\u8005\u306b\u3068\u3063\u3066\u4e00\u822c\u7684\u306a\u554f\u984c\u3067\u3059\u3002\u3053\u306e\u30a8\u30e9\u30fc\u306f\u3001Webhook\u306eURL\u304c\u6b63\u3057\u304f\u306a\u3044\u3001\u307e\u305f\u306f\u9001\u4fe1\u3055\u308c\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5f62\u5f0f\u304c\u6b63\u3057\u304f\u306a\u3044\u5834\u5408\u306b\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u672c\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u554f\u984c\u306e\u539f\u56e0\u3068\u89e3\u6c7a\u7b56\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3066\u3044\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u5b9f\u969b\u306e\u30b1\u30fc\u30b9\u30b9\u30bf\u30c7\u30a3\u3084\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u30d2\u30f3\u30c8\u3092\u8ffd\u52a0\u3057\u3066\u3001\u3088\u308a\u5305\u62ec\u7684\u306a\u30ac\u30a4\u30c9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h2>\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u89e3\u6c7a\u7b56\u306e\u6df1\u5800\u308a<\/h2>\n<p>1. <strong>\u4e0d\u6b63\u306aWebhook URL\u306e\u8a73\u7d30<\/strong>: URL\u304c\u6b63\u3057\u304f\u306a\u3044\u5834\u5408\u3001\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u5b58\u5728\u3057\u306a\u3044\u304b\u3001\u8aa4\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002Teams\u306eWebhook URL\u306f\u901a\u5e38\u3001\u7279\u5b9a\u306e\u5f62\u5f0f\u306b\u5f93\u3063\u3066\u304a\u308a\u3001\u30c1\u30fc\u30e0ID\u3068\u30c1\u30e3\u30cd\u30ebID\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306eID\u304c\u6b63\u78ba\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3001URL\u304c\u5b8c\u5168\u306b\u30b3\u30d4\u30fc\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>2. <strong>\u30e1\u30c3\u30bb\u30fc\u30b8\u5f62\u5f0f\u306e\u8aa4\u308a\u306e\u8a73\u7d30<\/strong>: Microsoft Teams\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u3092JSON\u5f62\u5f0f\u3067\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002\u3053\u306eJSON\u306b\u306f\u3001`title`\u3084`text`\u306a\u3069\u306e\u7279\u5b9a\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5f62\u5f0f\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u3068\u3001Teams\u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u89e3\u6790\u3067\u304d\u305a\u3001400\u30a8\u30e9\u30fc\u3092\u8fd4\u3057\u307e\u3059\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5f62\u5f0f\u3092\u691c\u8a3c\u3059\u308b\u305f\u3081\u306b\u3001JSON\u30ea\u30f3\u30bf\u30fc\u3084\u30b9\u30ad\u30fc\u30de\u691c\u8a3c\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>3. <strong>\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u306e\u4e0d\u8db3\u306e\u8a73\u7d30<\/strong>: \u9001\u4fe1\u8005\u304c\u7279\u5b9a\u306e\u30c1\u30fc\u30e0\u3084\u30c1\u30e3\u30cd\u30eb\u306b\u5bfe\u3057\u3066\u9069\u5207\u306a\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u3001400\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002Microsoft Teams\u306e\u7ba1\u7406\u30bb\u30f3\u30bf\u30fc\u3067\u6a29\u9650\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001\u9069\u5207\u306a\u6a29\u9650\u3092\u6301\u3064\u30a2\u30ab\u30a6\u30f3\u30c8\u304b\u3089\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h2>\u5b9f\u969b\u306e\u30b1\u30fc\u30b9\u30b9\u30bf\u30c7\u30a3<\/h2>\n<p>\u3000\u5b9f\u969b\u306e\u958b\u767a\u8005\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3067\u5831\u544a\u3055\u308c\u305f\u3044\u304f\u3064\u304b\u306e\u30b1\u30fc\u30b9\u30b9\u30bf\u30c7\u30a3\u3092\u901a\u3058\u3066\u3001\u7279\u5b9a\u306e\u554f\u984c\u3068\u305d\u306e\u89e3\u6c7a\u7b56\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&#8211; <strong>\u30b1\u30fc\u30b91<\/strong>: \u958b\u767a\u8005\u304c\u65b0\u3057\u3044Webhook URL\u3092\u751f\u6210\u3057\u305f\u5f8c\u3001\u53e4\u3044URL\u3092\u4f7f\u7528\u3057\u7d9a\u3051\u3066\u3044\u305f\u3002\u3053\u306e\u5834\u5408\u3001\u65b0\u3057\u3044URL\u306b\u66f4\u65b0\u3059\u308b\u3053\u3068\u3067\u554f\u984c\u304c\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>&#8211; <strong>\u30b1\u30fc\u30b92<\/strong>: \u30e1\u30c3\u30bb\u30fc\u30b8\u306eJSON\u304c\u4e0d\u5b8c\u5168\u3067\u3001\u5fc5\u8981\u306a\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u6b20\u3051\u3066\u3044\u305f\u3002JSON\u306e\u69cb\u9020\u3092\u518d\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306a\u3059\u3079\u3066\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u542b\u3081\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>&#8211; <strong>\u30b1\u30fc\u30b93<\/strong>: \u30c1\u30fc\u30e0\u3084\u30c1\u30e3\u30cd\u30eb\u306eID\u304c\u9593\u9055\u3063\u3066\u3044\u305f\u3002Microsoft Teams\u306e\u7ba1\u7406\u30bb\u30f3\u30bf\u30fc\u3067\u6b63\u3057\u3044ID\u3092\u78ba\u8a8d\u3057\u3001\u305d\u308c\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u554f\u984c\u304c\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h2>\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u30d2\u30f3\u30c8<\/h2>\n<p>&#8211; <strong>\u30ed\u30b0\u306e\u78ba\u8a8d<\/strong>: Microsoft Teams\u306f\u3001Webhook\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306a\u30ed\u30b0\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u3001\u554f\u984c\u306e\u539f\u56e0\u3092\u7279\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&#8211; <strong>\u958b\u767a\u8005\u30c4\u30fc\u30eb\u306e\u4f7f\u7528<\/strong>: Microsoft Graph Explorer\u306a\u3069\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u30c6\u30b9\u30c8\u3057\u3001\u554f\u984c\u3092\u30c7\u30d0\u30c3\u30b0\u3057\u307e\u3059\u3002<\/p>\n<p>&#8211; <strong>\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3068\u306e\u9023\u643a<\/strong>: Microsoft\u306e\u958b\u767a\u8005\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3084Stack Overflow\u306a\u3069\u306e\u30d5\u30a9\u30fc\u30e9\u30e0\u3067\u3001\u540c\u69d8\u306e\u554f\u984c\u306b\u76f4\u9762\u3057\u3066\u3044\u308b\u4ed6\u306e\u958b\u767a\u8005\u3068\u60c5\u5831\u3092\u5171\u6709\u3057\u3001\u89e3\u6c7a\u7b56\u3092\u898b\u3064\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4><\/h4>\n<h4><\/h4>\n<h3>\u95a2\u9023\u30ea\u30f3\u30af\u306e\u66f4\u65b0<\/h3>\n<p>&#8211; [<span style=\"text-decoration: underline; color: #0000ff;\"><a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/api\/chatmessage-post?view=graph-rest-1.0&amp;tabs=http\" style=\"color: #0000ff; text-decoration: underline;\">Microsoft Teams\u306eWebhook\u306b\u95a2\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a><\/span>]\n<p>&#8211; [<span style=\"text-decoration: underline; color: #0000ff;\"><a href=\"https:\/\/learn.microsoft.com\/en-us\/answers\/questions\/702974\/posting-channel-message-to-teams-facing-400-bad-re\" style=\"color: #0000ff; text-decoration: underline;\">Microsoft Q&amp;A: Posting channel message to Teams facing 400 Bad Request<\/a><\/span>]\n<p>&#8211; [<span style=\"text-decoration: underline; color: #0000ff;\"><a href=\"https:\/\/techcommunity.microsoft.com\/t5\/teams-developer\/incoming-webhook-error\/td-p\/3049912\" style=\"color: #0000ff; text-decoration: underline;\">Microsoft Tech Community: Incoming webhook error<\/a><\/span>]\n<h4><\/h4>\n<h4><\/h4>\n<h2>\u3053\u306e\u7ae0\u306e\u307e\u3068\u3081<\/h2>\n<p>\u300cTeams webhook 400 bad request\u300d\u30a8\u30e9\u30fc\u306f\u3001Webhook\u306eURL\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u5f62\u5f0f\u3001\u307e\u305f\u306f\u6a29\u9650\u306b\u554f\u984c\u304c\u3042\u308b\u5834\u5408\u306b\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u554f\u984c\u306e\u8a3a\u65ad\u3068\u89e3\u6c7a\u306e\u305f\u3081\u306e\u5177\u4f53\u7684\u306a\u30b9\u30c6\u30c3\u30d7\u3092\u63d0\u4f9b\u3057\u307e\u3057\u305f\u3002\u5e38\u306b\u6700\u65b0\u306e\u60c5\u5831\u3092\u78ba\u8a8d\u3057\u3001\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3068\u306e\u9023\u643a\u3092\u5fd8\u308c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002\u3042\u306a\u305f\u306e\u958b\u767a\u65c5\u8def\u304c\u30b9\u30e0\u30fc\u30ba\u3067\u3042\u308a\u307e\u3059\u3088\u3046\u306b\uff01<\/p>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Teams Webhook 400 Bad Request: \u5b8c\u5168\u306a\u89e3\u6c7a\u30ac\u30a4\u30c9 \u306f\u3058\u3081\u306b \u3000Microsoft Teams\u306eWebhook\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u300c400 Bad Request\u300d\u30a8\u30e9\u30fc\u306b\u76f4\u9762\u3059\u308b\u3053\u3068\u306f\u3001\u958b\u767a\u8005\u306b\u3068&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[418059],"tags":[418061],"class_list":{"0":"post-272976","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-microsoft-teams","7":"tag-teams-webhook-400-bad-request","8":"article cf"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/posts\/272976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=272976"}],"version-history":[{"count":1,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/posts\/272976\/revisions"}],"predecessor-version":[{"id":272977,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=\/wp\/v2\/posts\/272976\/revisions\/272977"}],"wp:attachment":[{"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=272976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=272976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.singapore-startup.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=272976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}