Jump to: navigation, search

Difference between revisions of "API Special Interest Group/Current Design/Errors"

(Created page with "== Compute == Status Code: 404 <pre><nowiki> { "itemNotFound": { "message": "Instance could not be found", "code": 404 } } </nowiki></pre> == Identity == Status...")
 
Line 56: Line 56:
 
   },
 
   },
 
   "title": "Not Found"
 
   "title": "Not Found"
 +
}
 +
</nowiki></pre>
 +
 +
 +
== Volume ==
 +
Status Code: 404
 +
<pre><nowiki>
 +
{
 +
  "itemNotFound": {
 +
    "message": "Volume could not be found",
 +
    "code": 404
 +
  }
 
}
 
}
 
</nowiki></pre>
 
</nowiki></pre>

Revision as of 18:22, 27 March 2015

Compute

Status Code: 404

{
  "itemNotFound": {
    "message": "Instance could not be found",
    "code": 404
  }
}


Identity

Status Code: 404

{
  "error": {
    "message": "Could not find user: does_not_exist",
    "code": 404,
    "title": "Not Found"
  }
}


Image

Status Code: 404

404 Not Found

The resource could not be found.

 Image with identifier does_not_exist not found


Network

Status Code: 404

404 Not Found

The resource could not be found.


Orchestration

Status Code: 404

{
  "explanation": "The resource could not be found.",
  "code": 404,
  "error": {
    "message": "The Stack (does_not_exist) could not be found.",
    "traceback": "Traceback (most recent call last):\n\n  File \"/opt/stack/heat/heat/engine/service.py\", line 69, in wrapped\n    return func(self, ctx, *args, **kwargs)\n\n  File \"/opt/stack/heat/heat/engine/service.py\", line 432, in identify_stack\n    raise exception.StackNotFound(stack_name=stack_name)\n\nStackNotFound: The Stack (does_not_exist) could not be found.\n",
    "type": "StackNotFound"
  },
  "title": "Not Found"
}


Volume

Status Code: 404

{
  "itemNotFound": {
    "message": "Volume could not be found",
    "code": 404
  }
}