{
    "componentChunkName": "component---src-templates-post-js",
    "path": "/en/1.0.0/webhook/http-response-codes-webhook/",
    "result": {"data":{"markdownRemark":{"htmlAst":{"type":"root","children":[{"type":"element","tagName":"h2","properties":{"id":"intro","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#intro","ariaLabel":"intro permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Intro"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{"className":["half-width-content"]},"children":[{"type":"text","value":"Webhook uses standard HTTP response codes to indicate the success or failure of each request, except when the reason for the error could not be determined. In this case, it returns a "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"-1"}]},{"type":"text","value":" status."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{"className":["half-width-content"]},"children":[{"type":"text","value":"In general, a status code can be quickly identified by the first digit:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{"className":["half-width-content"]},"children":[{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"1xx"}]},{"type":"text","value":": Informative"},{"type":"element","tagName":"br","properties":{},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"2xx"}]},{"type":"text","value":": Success"},{"type":"element","tagName":"br","properties":{},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"3xx"}]},{"type":"text","value":": Redirection"},{"type":"element","tagName":"br","properties":{},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"4xx"}]},{"type":"text","value":": Client error"},{"type":"element","tagName":"br","properties":{},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"5xx"}]},{"type":"text","value":": Server error"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"http-response-codes","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#http-response-codes","ariaLabel":"http response codes permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"HTTP Response Codes"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{"className":["half-width-content"]},"children":[{"type":"text","value":"Operations that result in an error that occurred on the client side (e.g. invalid access token) will return a code in the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"4xx"}]},{"type":"text","value":" range and indicate that the request is in some way invalid. If you receive a "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"4xx"}]},{"type":"text","value":" error, we recommend that you read our error glossary for more context to help you troubleshoot the problem."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{"className":["half-width-content"]},"children":[{"type":"text","value":"Error codes in the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"5xx"}]},{"type":"text","value":" range suggest a problem with the service registered when configuring the webhook. If you have any questions, contact the person responsible for the service in your company."}]},{"type":"text","value":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"},{"type":"element","tagName":"table","properties":{},"children":[{"type":"element","tagName":"thead","properties":{},"children":[{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"Status"}]},{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"Description"}]}]}]},{"type":"element","tagName":"tbody","properties":{},"children":[{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"2XX"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"All good."}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"400"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"The sent request is invalid in some way."}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"500"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"An unexpected internal error occurred and it was not possible to complete the reqeuest."}]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"solution-suggestions","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#solution-suggestions","ariaLabel":"solution suggestions permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Solution suggestions"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{"className":["half-width-content"]},"children":[{"type":"text","value":"In the event of error responses, check out some tips on what you can do to resolve them."}]},{"type":"text","value":"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"},{"type":"element","tagName":"table","properties":{},"children":[{"type":"element","tagName":"thead","properties":{},"children":[{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"Status"}]},{"type":"element","tagName":"th","properties":{},"children":[{"type":"text","value":"Description"}]}]}]},{"type":"element","tagName":"tbody","properties":{},"children":[{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"400"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Your service has identified that a required parameter was not sent or is invalid."}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"401"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"The service is requiring a key for authentication. Check if your service is validating 'hottok' or if it is requiring another type of key."}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"404"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"Your service's URL does not exist."}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"408"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"The connection to your server was established and the event was triggered, but your application did not return the response within the expected time."}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"5XX"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"We were able to connect your service to the event, but the application did not respond within the expected time limit."}]}]},{"type":"element","tagName":"tr","properties":{},"children":[{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"-1"}]},{"type":"element","tagName":"td","properties":{},"children":[{"type":"text","value":"We were able to connect your service to the event, but the application terminated the connection unexpectedly without reporting the reason for the error."}]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"alert","properties":{"title":"Start now!","type":"credential","link":"urlWebhook","linklabel":"Create a setting","buttonicon":"external-link"},"children":[{"type":"text","value":"\nCreate your settings and receive events.\n"}]}],"data":{"quirksMode":false}},"frontmatter":{"description":"Hotmart's notification tool can be integrated with any system to automate control of your products.","title":"Response HTTP Codes","tags":["HTTP","error codes","response codes","reply"],"category":"Webhook","categoryDescription":"Hotmart's notification tool can be integrated with any system to automate control of your products.","api":null,"buttonLink":"urlWebhook","buttonText":"Create a setting","buttonIcon":"external"},"fields":{"langKey":"en","verKey":["/1.0.0"],"slug":"/en/1.0.0/webhook/http-response-codes-webhook/"}},"allMarkdownRemark":{"distinct":["en","es","pt-BR"]}},"pageContext":{"category":"webhook","slug":"/en/1.0.0/webhook/http-response-codes-webhook/","pathNoLang":"/1.0.0/webhook/http-response-codes-webhook/"}},
    "staticQueryHashes": ["1180253839","1927663127","2095688679","3367957584","3579948671","3996864857","4162568218","4285555676"]}