ACRA / acralyzer

Open source backend for ACRA reports.
GNU General Public License v3.0
489 stars 90 forks source link

Mandatory Columns ? #29

Closed jefBinomed closed 10 years ago

jefBinomed commented 11 years ago

With my application I want to choose the column to send to the report but each times I used a restricted number of columns ,the report was partialy available and i don't see it well in acralyzer. So my question is : what are the mandatory columns to send to a report ?

regards

johnuopini commented 11 years ago

Had the same issue, adding "ReportField.REPORT_ID" resolved

KevinGaudin commented 10 years ago

I added a list of mandatory fields here: https://github.com/ACRA/acralyzer/wiki/setup#configure-your-application-to-send-reports-to-your-acra-storage

If there's one missing, please let me know.

partyzan commented 9 years ago

I am still seeing this issue with the list from the documenation:

        customReportContent = { REPORT_ID, APP_VERSION_CODE, APP_VERSION_NAME, PACKAGE_NAME, ANDROID_VERSION, BUILD, PHONE_MODEL, CUSTOM_DATA, STACK_TRACE, LOGCAT },

The repoert fails with 400 error:

07-23 10:32:46.112   9992-10065/com.transmit.sdk.demo E/ACRA﹕ Failed to send crash report for 1406100557000-IS_SILENT.stacktrace
    org.acra.sender.ReportSenderException: Error while sending JSON report via Http PUT
            at org.acra.sender.HttpSender.send(HttpSender.java:228)
            at org.acra.SendWorker.sendCrashReport(SendWorker.java:179)
            at org.acra.SendWorker.checkAndSendReports(SendWorker.java:141)
            at org.acra.SendWorker.run(SendWorker.java:77)
     Caused by: java.io.IOException: Host returned error code 400
            at org.acra.util.HttpRequest.send(HttpRequest.java:173)
            at org.acra.sender.HttpSender.send(HttpSender.java:225)
            at org.acra.SendWorker.sendCrashReport(SendWorker.java:179)
            at org.acra.SendWorker.checkAndSendReports(SendWorker.java:141)
            at org.acra.SendWorker.run(SendWorker.java:77)

Are there any additional fields that are mandatory ? Can I see that through the acralyzer logs some how?