This document contains a literal translation of the DiGIR diagnostic codes contained in the source XML file, digir_errors.xml. This file is used to generate this document and the PHP code DiGIR_errorconst.php

Diagnostic Levels

Level Description
debug Message contains diagnostic information that can be helpful for determing problems with an installation. WARNING: content in the debug diagnostic can provide sensitive information about the provider installation.
info Message contains information about the status of the provider service or the recent operation.
warn Message contains information warning that the operation of the provider service may be incorrect, but no particular error was detected.
error An error occured. The results that were generated should not be trusted as the content may be incorrect.
fatal Normal operation of the provider services was compromised execution of the request could not be completed.

Diagnostic Codes

Value Level Description
PHP_VERSION warn Indicates a mismatch between the version of PHP known to work correctly with DiGIR and the current PHP interpreter.
FILTER_TOO_SHORT warn The filter supplied in the request document was too brief (general) for this provider.
INVALID_QUERY error The query supplied in the request document could not be parsed in the context of the requested resource.
INTERNAL_DATABASE_ERROR error There was a problem with communication between the DiGIR script and the database that caused an error.
DATABASE_ERROR error Reports an error message that was generated by the database driver. The text of the message is the error message provided by the database interface.
SQL_DEBUG_INFO debug Contains native database query statements generated when the provider is in debug mode.
MATCH_COUNT info Contains the number of records that matched the query. This is an integer value.
QUERY_PRODUCED_NO_RESULTS warn An error message that indicates the query produced a null (empty) resultset.
RECORD_COUNT info An integer value that indicates the number of records that are returned in the response.
END_OF_RECORDS info A boolean value (true | false, 0|1) indicating if the last record in the response document corresponds with the last record in the resultset.
BAD_QUERY error The filter structure could not be transformed into a native query language.
UNSUPPORTED_ACCESSPOINT error An access point (searchable concept) used in the filter does not exist in the resource.
COMPARISON_TYPE_NOT_SUPPORTED error A comparison type specified in the filter was not supported by the corresponding access point.
QUERY_TERM_TOO_SHORT level A term used in the query was shorted than the minimum allowed by the provider.
INVALID_QUERY_TERM error A query term was not in the expected form for the searchable concept.
BAD_CONCEPT_MAP error The configuration for the concept map element specified in the diagnostic message did not provide correct information for mapping to the database.
RESOURCE_NOT_FOUND error The requested resource was not available on the data provider.
INVALID_REQUEST error The request document was incorrect and the operation could not be determined.
LOAD_FORMAT_FAILED error The requested record format could not be found or loaded.
METADATA_FORMAT_PROBLEM warn There was a problem processing the provider metadata description file.
NO_FILTER_IN_REQUEST error No filter was provided in the search request.
COULD_NOT_LOAD_RESOURCES_FILE error The provider resource list could not be loaded.
REMOTE_JOINS_NOT_ALLOWED error The operation requested a remote join, and that feature has been disabled on the provider.
REMOTE_JOIN_FAILED error The remote join request failed to complete correctly.
REMOTE_JOIN_INFO warn The response from the remote join was different to expected, but the operation appeared to complete successfully.
FAILED_CONFIGURATION_LOAD fatal The configuration information for the provider could not be loaded, and hence the requested operation could not be completed.
NO_CONTENT_REQUESTED warn The request does not ask for match count or any records.
TOO_MANY_ERRORS error Too many errors were encountered while processing the request.
LOG_ERROR error Problem occured when opening or writing to the log.
GENERAL_ERROR error A catch-all diagnostic for where no other appropriate category is available.
NO_CHARACTER_CONVERSION warn The mbstring library was not available, and hence no character conversion routines are available. The resulting document may not conform to UTF-8 character encoding.
DIGIR_NOT_ALLOWED error The requested operation is not permitted by the configuration of the provider.
DIGIRM_RECURSIVE_OPERATION error The DiGIRm request resolved to a recursive query and so was not processed.
STATUS_INTERVAL info An integer value indicating the number of seconds for which the accompanying STATUS_DATA value applys.
STATUS_DATA info An integer value indicating the number of requests that have been processed in the last STATUS_INTERVAL seconds. The count refers to the type of operation that generated the current document (e.g. metadata, search, or inventory).