{"id":2932,"date":"2023-03-09T09:00:14","date_gmt":"2023-03-09T09:00:14","guid":{"rendered":"https:\/\/sdf-docs.clevr.com\/?docs=api\/error-handling"},"modified":"2023-03-09T09:09:29","modified_gmt":"2023-03-09T09:09:29","slug":"error-handling","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=api\/error-handling","title":{"rendered":"Error handling"},"content":{"rendered":"\n<p>If an expected error has occurred, then the response includes an error message. See some possible errors below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Revision is not found<\/h2>\n\n\n\n<p>The below error is relatively simple. The requested revision is not found. This can have two causes.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The revision is deleted from the team server<\/li><li>The revision does not exist, perhaps a typo or a revision from a different app?<\/li><\/ol>\n\n\n\n<p>You can easily verify this by checking out the teamserver in Mendix Sprintr.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"IsError\": true,\n  \"ErrorMessage\": \"Revision not found XX\"\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">No auto check account<\/h2>\n\n\n\n<p>This error indicates that no account was set in Code review App settings to leverage the APIs. To gain access to the Mendix teamserver APIs, a Mendix account must be used that has access. Please follow the steps described in <a href=\"https:\/\/sdf-docs.clevr.com\/wp-admin\/post.php?action=edit&amp;post=2567\">App settings<\/a> to ensure your Mendix account is linked. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"IsError\": true,\n  \"ErrorMessage\":\"Loading revision for XXXX branch XXXX revision XXXX failed because no auto check account\",\n  \"BooleanResult\":false\n}<\/code><\/pre>\n","protected":false},"featured_media":0,"parent":2920,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2932","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2932"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2932"}],"version-history":[{"count":2,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2932\/revisions"}],"predecessor-version":[{"id":2939,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2932\/revisions\/2939"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2920"}],"next":[{"title":"Releases","link":"https:\/\/sdf-docs.clevr.com\/?docs=api\/releases","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2944"}],"prev":[{"title":"Authentication","link":"https:\/\/sdf-docs.clevr.com\/?docs=api\/authentication","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2926"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2932"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=2932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}