{"id":26170,"date":"2023-11-22T09:20:04","date_gmt":"2023-11-22T09:20:04","guid":{"rendered":"https:\/\/luxon.com\/?post_type=luxon_api&#038;p=22344"},"modified":"2024-05-21T14:43:35","modified_gmt":"2024-05-21T14:43:35","slug":"error-handling","status":"publish","type":"luxon_api","link":"https:\/\/luxon.com\/ja\/api\/error-handling\/","title":{"rendered":"Error Handling"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Luxon uses conventional <\/span><b>HTTP <\/b><span style=\"font-weight: 400;\">response codes to indicate the success or failure of an API request.<\/span><\/p>\n<p><b>HTTP RESPONSE CODES<\/b><\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Code<\/b><\/td>\n<td><b>Message<\/b><\/td>\n<\/tr>\n<tr>\n<td><b>200<\/b><span style=\"font-weight: 400;\"> \u2013 OK<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Everything worked as expected<\/span><\/td>\n<\/tr>\n<tr>\n<td><b>400<\/b><span style=\"font-weight: 400;\"> \u2013 Bad Request<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Request may have a missing parameter or be badly configured<\/span><\/td>\n<\/tr>\n<tr>\n<td><b>401 <\/b><span style=\"font-weight: 400;\">\u2013 Unauthorized<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Invalid authentication<\/span><\/td>\n<\/tr>\n<tr>\n<td><b>402<\/b><span style=\"font-weight: 400;\"> \u2013 Request failed<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The request was valid but failed<\/span><\/td>\n<\/tr>\n<tr>\n<td><b>403<\/b><span style=\"font-weight: 400;\"> \u2013 Forbidden<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The API key doesn\u2019t have permission to perform that request<\/span><\/td>\n<\/tr>\n<tr>\n<td><b>404 <\/b><span style=\"font-weight: 400;\">\u2013 Not Found<\/span><\/td>\n<td><span style=\"font-weight: 400;\">The resource does not exist<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-weight: 400;\">All responses should contain a status object which represents the result of the call.<\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"template":"","api_topic":[618],"class_list":["post-26170","luxon_api","type-luxon_api","status-publish","hentry","api_topic-information"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Error Handling - Luxon Pay<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/luxon.com\/ja\/api\/error-handling\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error Handling - Luxon Pay\" \/>\n<meta property=\"og:description\" content=\"Luxon uses conventional HTTP response codes to indicate the success or failure of an API request. HTTP RESPONS... Read more &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/luxon.com\/ja\/api\/error-handling\/\" \/>\n<meta property=\"og:site_name\" content=\"Luxon Pay\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-21T14:43:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/luxon.com\/ja\/api\/error-handling\/\",\"url\":\"https:\/\/luxon.com\/ja\/api\/error-handling\/\",\"name\":\"Error Handling - Luxon Pay\",\"isPartOf\":{\"@id\":\"https:\/\/luxon.com\/ja\/#website\"},\"datePublished\":\"2023-11-22T09:20:04+00:00\",\"dateModified\":\"2024-05-21T14:43:35+00:00\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/luxon.com\/ja\/api\/error-handling\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/luxon.com\/ja\/#website\",\"url\":\"https:\/\/luxon.com\/ja\/\",\"name\":\"Luxon Pay\",\"description\":\"Instant secure global payments\",\"publisher\":{\"@id\":\"https:\/\/luxon.com\/ja\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/luxon.com\/ja\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/luxon.com\/ja\/#organization\",\"name\":\"Luxon Pay\",\"url\":\"https:\/\/luxon.com\/ja\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/luxon.com\/ja\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/luxon.com\/wp-content\/uploads\/WebsiteImage04.png\",\"contentUrl\":\"https:\/\/luxon.com\/wp-content\/uploads\/WebsiteImage04.png\",\"width\":1200,\"height\":630,\"caption\":\"Luxon Pay\"},\"image\":{\"@id\":\"https:\/\/luxon.com\/ja\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Error Handling - Luxon Pay","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/luxon.com\/ja\/api\/error-handling\/","og_locale":"ja_JP","og_type":"article","og_title":"Error Handling - Luxon Pay","og_description":"Luxon uses conventional HTTP response codes to indicate the success or failure of an API request. HTTP RESPONS... Read more &raquo;","og_url":"https:\/\/luxon.com\/ja\/api\/error-handling\/","og_site_name":"Luxon Pay","article_modified_time":"2024-05-21T14:43:35+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/luxon.com\/ja\/api\/error-handling\/","url":"https:\/\/luxon.com\/ja\/api\/error-handling\/","name":"Error Handling - Luxon Pay","isPartOf":{"@id":"https:\/\/luxon.com\/ja\/#website"},"datePublished":"2023-11-22T09:20:04+00:00","dateModified":"2024-05-21T14:43:35+00:00","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/luxon.com\/ja\/api\/error-handling\/"]}]},{"@type":"WebSite","@id":"https:\/\/luxon.com\/ja\/#website","url":"https:\/\/luxon.com\/ja\/","name":"Luxon Pay","description":"Instant secure global payments","publisher":{"@id":"https:\/\/luxon.com\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/luxon.com\/ja\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/luxon.com\/ja\/#organization","name":"Luxon Pay","url":"https:\/\/luxon.com\/ja\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/luxon.com\/ja\/#\/schema\/logo\/image\/","url":"https:\/\/luxon.com\/wp-content\/uploads\/WebsiteImage04.png","contentUrl":"https:\/\/luxon.com\/wp-content\/uploads\/WebsiteImage04.png","width":1200,"height":630,"caption":"Luxon Pay"},"image":{"@id":"https:\/\/luxon.com\/ja\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/luxon.com\/ja\/wp-json\/wp\/v2\/luxon_api\/26170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/luxon.com\/ja\/wp-json\/wp\/v2\/luxon_api"}],"about":[{"href":"https:\/\/luxon.com\/ja\/wp-json\/wp\/v2\/types\/luxon_api"}],"author":[{"embeddable":true,"href":"https:\/\/luxon.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"wp:attachment":[{"href":"https:\/\/luxon.com\/ja\/wp-json\/wp\/v2\/media?parent=26170"}],"wp:term":[{"taxonomy":"api_topic","embeddable":true,"href":"https:\/\/luxon.com\/ja\/wp-json\/wp\/v2\/api_topic?post=26170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}