Skip to content
haikusw edited this page Jul 8, 2011 · 3 revisions

This is a list of error codes send back when submitting a crash report:

These error codes are valid when using MacDevCrashReports.com web service:

CrashReportStatusFailurePHPXmlReaderClass = -40
// PHP: XMLReader class is not available in PHP

CrashReportStatusFailurePHPProwlClass = -41
// PHP: Prowl class is not available in PHP

CrashReportStatusFailurePHPCurlLib = -41
// PHP: cURL library missing vital functions or does not support SSL. cURL w/SSL is required to execute ProwlPHP.

CrashReportStatusFailureInvalidAccess = -100
// Security: Provided token does not match or does not match the given bundle identifier

These error codes are valid for any server scenario:

CrashReportStatusFailureVersionDiscontinued = -30
// This app version is set to discontinued, no new crash reports accepted by the server

CrashReportStatusFailureXMLSenderVersionNotAllowed = -21
// XML: Sender version string contains not allowed characters, only alphanumberical including space and . are allowed

CrashReportStatusFailureXMLVersionNotAllowed = -20
// XML: Version string contains not allowed characters, only alphanumberical including space and . are allowed

CrashReportStatusFailureSQLAddSymbolicateTodo = -18
// SQL for adding a symoblicate todo entry in the database failed

CrashReportStatusFailureSQLAddCrashlog = -17
// SQL for adding crash log in the database failed

CrashReportStatusFailureSQLAddVersion = -16
// SQL for adding a new version in the database failed

CrashReportStatusFailureSQLCheckVersionExists = -15
// SQL for checking if the version is already added in the database failed

CrashReportStatusFailureSQLAddPattern = -14
// SQL for creating a new pattern for this bug and set amount of occurrances to 1 in the database failed

CrashReportStatusFailureSQLCheckBugfixStatus = -13
// SQL for checking the status of the bugfix version in the database failed

CrashReportStatusFailureSQLUpdatePatternOccurances = -12
// SQL for updating the occurances of this pattern in the database failed

CrashReportStatusFailureSQLFindKnownPatterns = -11
// SQL for getting all the known bug patterns for the current app version in the database failed

CrashReportStatusFailureSQLSearchAppName = -10
// SQL for finding the bundle identifier in the database failed

CrashReportStatusFailureInvalidPostData = -3
// the post request didn’t contain valid data

CrashReportStatusFailureInvalidIncomingData = -2
// incoming data may not be added, because e.g. bundle identifier wasn’t found

CrashReportStatusFailureDatabaseNotAvailable = -1
// database cannot be accessed, check hostname, username, password and database name settings in config.php

CrashReportStatusUnknown = 0
// The crash has been submitted successfully, but has no known status

CrashReportStatusAssigned = 1
// The crash has been submitted successfully and a bugfix version has been assigned

CrashReportStatusSubmitted = 2
// The crash has been submitted successfully and a bugfix version has been submitted to Apple (relevant for iPhone apps)

CrashReportStatusAvailable = 3
// The crash has been submitted successfully and a bugfix version is available

Clone this wiki locally