"use strict";(self.webpackChunkbaf=self.webpackChunkbaf||[]).push([[6469],{5853:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>n,contentTitle:()=>s,default:()=>k,frontMatter:()=>i,metadata:()=>l,toc:()=>o});var d=r(7896),a=(r(2784),r(876));const i={id:"api_baf_shared_errors",title:"Shared errors",sidebar_label:"Shared errors"},s=void 0,l={unversionedId:"user_guide/api_baf_shared_errors",id:"user_guide/api_baf_shared_errors",title:"Shared errors",description:"Possible errors shared by all requests",source:"@site/docs/user_guide/api_baf_shared_errors.md",sourceDirName:"user_guide",slug:"/user_guide/api_baf_shared_errors",permalink:"/user_guide/api_baf_shared_errors",draft:!1,tags:[],version:"current",frontMatter:{id:"api_baf_shared_errors",title:"Shared errors",sidebar_label:"Shared errors"},sidebar:"docs",previous:{title:"Lite Scheduled Cleanup",permalink:"/user_guide/baf_lite_retention"},next:{title:"Manual operations",permalink:"/user_guide/api_baf_manual"}},n={},o=[{value:"Possible errors shared by all requests",id:"possible-errors-shared-by-all-requests",level:3}],u={toc:o},h="wrapper";function k(e){let{components:t,...r}=e;return(0,a.kt)(h,(0,d.Z)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h3",{id:"possible-errors-shared-by-all-requests"},"Possible errors shared by all requests"),(0,a.kt)("table",null,(0,a.kt)("tbody",null,(0,a.kt)("tr",null,(0,a.kt)("td",{class:"center-aligned",width:"400"},(0,a.kt)("b",null,"HTTP Code")),(0,a.kt)("td",{class:"center-aligned",width:"400"},(0,a.kt)("b",null,"Message")),(0,a.kt)("td",{class:"center-aligned",width:"400"},(0,a.kt)("b",null,"Description")),(0,a.kt)("td",{class:"center-aligned",width:"400"},(0,a.kt)("b",null,"Code"))),(0,a.kt)("tr",null,(0,a.kt)("td",{width:"400"},"401"),(0,a.kt)("td",{width:"400"},"No token provided when required"),(0,a.kt)("td",{width:"400"},"Authentication header not passed when it was required"),(0,a.kt)("td",{width:"400"},"120050")),(0,a.kt)("tr",null,(0,a.kt)("td",{width:"400"},"403"),(0,a.kt)("td",{width:"400"},"Wrong token provided"),(0,a.kt)("td",{width:"400"},"A private token was required, and a public token was handed over"),(0,a.kt)("td",{width:"400"},"120051")),(0,a.kt)("tr",null,(0,a.kt)("td",{width:"400"},"400"),(0,a.kt)("td",{width:"400"},"Fields validation failed"),(0,a.kt)("td",{width:"400"},"Error during input data validation"),(0,a.kt)("td",{width:"400"},"120046")),(0,a.kt)("tr",null,(0,a.kt)("td",{width:"400"},"404"),(0,a.kt)("td",{width:"400"},'"Object name" with id "Object id" not found'),(0,a.kt)("td",{width:"400"},"Requested object not found by id"),(0,a.kt)("td",{width:"400"},"120024")),(0,a.kt)("tr",null,(0,a.kt)("td",{width:"400"},"500"),(0,a.kt)("td",{width:"400"},"Oops! A fatal error occurred. Try it again later."),(0,a.kt)("td",{width:"400"},"Error occurred on the server"),(0,a.kt)("td",{width:"400"},"120047")))),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Error body example")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-cpp"},'{\n  "code": "120046",\n  "description": "Fields validation is failed",\n  "data": null\n}\n')))}k.isMDXComponent=!0}}]);