Errors
401 - Unauthorized
HTTP 401 responses are sent when the authorization credentials are missing, invalid, or have expired. To resolve this error, ensure that you are providing valid credentials. If you are accessing the Quippe sandbox, these credentials can take the form of either HTTP basic authentication (the username and password that you use to access the sandbox) or a JSON web token in the Authorization HTTP header generated through a request to the /Quippe/Security/Token endpoint; see the authentication topic for details.
500 - Server Error
HTTP 500 responses are sent when Quippe encounters an unexpected error while trying to process a request. Details for the error are returned in a RFC 7807 (Problem Details for HTTP APIs) compliant format:
If you are hosting Quippe on premise, you can enable settings to return additional details, such as stack traces, in this error data:
.NET Framework
- If you want to return the type of the thrown exception, add a
<add key="ShowExceptionTypes" value="true"/>setting under/configuration/appSettingsin your application’s web.config file. - If you want to return the full stack trace for the exception, add a
<add key="ShowExceptionStackTraces" value="true"/>setting under/configuration/appSettingsin your application’s web.config file. - If you want to return filename and line number information for Quippe functions in the stack trace, you should also add a
<add key="AppContext.SetSwitch:Switch.System.Diagnostics.IgnorePortablePDBsInStackTraces" value="false"/>setting under/configuration/appSettingsin your application’s web.config file.
.NET Core or .NET 5.0 or greater
- If you want to return the type of the thrown exception, either add a
"ShowExceptionTypes": trueproperty underQuippeWebServicesin your application’s appsettings.json file or set theQuippeWebServices__ShowExceptionTypesenvironment variable totrue. - If you want to return the full stack trace for the exception, either add a
"ShowExceptionStackTraces": trueproperty underQuippeWebServicesin your application’s appsettings.json file or set theQuippeWebServices__ShowExceptionStackTracesenvironment variable totrue.
This turns the error details into: