Error Reporting
If MetaGlance encounters an issue, it will generally return a standard error message. The more common ones are listed here.
Not Found
If getmetadata is sent a broken link, resulting in a 404 error or similar exception, it will return something like this:
{ "error":"404 File not found: http://www.mydomain.org/no-such-page.html" }
Non-File URI
This generally occurs when you forget to include "http://" or other protocol specification in a getmetadata call.
{ "error":"Cannot handle non-file URIs" }
Access Blocked
Content may be blocked by a login or otherwise forbidden, typically returning error codes 401 or 403.
{ "error":"Could not process request: Server returned HTTP response code: 403 for URL: http://www.mydomain.com/admin/config/" }
Other
For unidentified issues, the following message is returned.{ "error": "Could not process request: www.mydomain.com/" }
