<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi!</div>
<div><br>
</div>
<div>The spec specifies error codes for API errors. </div>
<div><br>
</div>
<div>I am suggesting to also specify an API-ID for each specified API.</div>
<div><br>
</div>
<div>For example, the "/account" API could have an identifier such as "100000".</div>
<div><br>
</div>
<div>In error cases, an API would not only return the error code (e.g.: 701) but also the API-ID:</div>
<ul>
<li>error: 100000701 or 100000-701</li></ul>
<div>That value could be used by a developer and search for it in the documentation. It would make debugging much easier.</div>
<div><br>
</div>
<div>As I have experienced, developers sometimes do not really know which API failed. Especially if they use libraries that call many API's at once.</div>
<div><br>
</div>
<div>I would like to know what others think about the idea.</div>
</body>
</html>