fromFloats and toFloats are not reversible

I'm trying to get row RGBE byte values instead of floats so I used fromFloats but I'm getting unexpected results. So tried the code below. I know I should loose a bit of precision in the conversion but 233 and 59777 is a bit far from each other.
var fromFloats = require('hdr/lib/color').fromFloats;
var toFloats = require('hdr/lib/color').toFloats;
var a = [233, 53, 134, 16];
var floats = toFloats(a[0], a[1], a[2], a[3]);
console.log(fromFloats(floats[0], floats[1], floats[2]));
//-> [ 59775, 13695, 34431, 8 ]

Note that HDR version 0.6.x uses the mmme-encoding module which has a different calling style. I am going to use that module below.
It is in fact reversible. There may have been a bug with the older 'lib/color' code but the mmme-encoding library does a great job here:
var fromFloats = require('mmme-encoding').fromFloats;
var toFloats = require('mmme-encoding').toFloats;
var a = [233, 53, 134, 16];
var floats = toFloats(a, []);
console.log(fromFloats(floats, []));
//-> [ 116, 26, 67, 17 ]

The final result is very nearly the same as the input - the mantissa's are all halved but the exponent is one greater (so the final floating point result will be within the encoding's rounding error.)
The best way to achieve what you want is to create a new constructor that util.inherits from HDRLoader. Then you can override the _allocateData  function to create an Uint8ClampedArray that is width * height * 4 elements in size. Then override the _processScanline  function and get rid of the whole conversion to floats and the convserion to XYZ so that you keep RGBE just remove those 4 lines). Finally, override the _writePixel function to store all 4 elements of RGBE into the typed-array.
This way you won't lose any precision (you'll have the exact values in the file) and you'll not waste time doing needless conversion!

Note that HDR version 0.6.x uses the mmme-encoding module which has a different calling style. I am going to use that module below.
It is in fact reversible. There may have been a bug with the older 'lib/color' code but the mmme-encoding library does a great job here:
var fromFloats = require('mmme-encoding').fromFloats;
var toFloats = require('mmme-encoding').toFloats;
var a = [233, 53, 134, 16];
var floats = toFloats(a, []);
console.log(fromFloats(floats, []));
//-> [ 116, 26, 67, 17 ]

The final result is very nearly the same as the input - the mantissa's are all halved but the exponent is one greater (so the final floating point result will be within the encoding's rounding error.)
The best way to achieve what you want is to create a new constructor that util.inherits from HDRLoader. Then you can override the _allocateData  function to create an Uint8ClampedArray that is width * height * 4 elements in size. Then override the _processScanline  function and get rid of the whole conversion to floats and the convserion to XYZ so that you keep RGBE just remove those 4 lines). Finally, override the _writePixel function to store all 4 elements of RGBE into the typed-array.
This way you won't lose any precision (you'll have the exact values in the file) and you'll not waste time doing needless conversion!


CSS class name conflict

I ran into problem since this library is binding itself directly into "checkbox" class of bootstrap. I had existing code, which is using checkbox (part of that inside library which I cannot change), and applying a-b-c into use broken all checkboxes in this context.
My workaround (and proposed fix) is to add "aw-" prefix into all styles and a-b-c and and have it used something like this "checkbox aw-checkbox aw-checkbox-primary".

I agree, I have the same problem. Binding on css class with such widely used name as "checkbox" is overly ambitious, this definitely needs a prefix.

Guys, thanks, accepted

We change class name from .checkbox to .abc-checkbox in 1.0.0-alpha.1 version.
Thanks!


Fix hasPermission check on findMapsWithLayer method

Usage of #e was wrong here, as the map module does not extend from SecuredPersistentObject.
The layer does, and thats what we check now!

nice catch. thx
i'll merge now


ui: multi-select and batched gallery image operations

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Community Node Submission

Have you discussed this change with the InvokeAI team?

[x] Yes
[ ] No, because:

Have you updated all relevant documentation?

[ ] Yes
[x] No 😬

Description
feat: add multi-select to gallery
c3e99ad
multi-select actions include:

drag to board to move all to that board
right click to add all to board or delete all

backend changes:

add routes for changing board for list of image names, deleting list of images
change image-specific routes to images/i/{image_name} to not clobber other routes (like images/upload, images/delete)
subclass pydantic BaseModel as BaseModelExcludeNull, which excludes null values when calling dict() on the model. this fixes inconsistent types related to JSON parsing null values into null instead of undefined
remove board_id from remove_image_from_board

frontend changes:

multi-selection stuff uses ImageDTO[] as payloads, for dnd and other mutations. this gives us access to image board_ids when hitting routes, and enables efficient cache updates.
consolidate change board and delete image modals to handle single and multiples
board totals are now re-fetched on mutation and not kept in sync manually - was way too tedious to do this
fixed warning about nested <p> elements
closes #4088 , need to handle case when autoAddBoardId is "none"
add option to show gallery image delete button on every gallery image

frontend refactors/organisation:

make typegen script js instead of ts
enable noUncheckedIndexedAccess to help avoid bugs when indexing into arrays, many small changes needed to satisfy TS after this
move all image-related endpoints into endpoints/images.ts, its a big file now, but this fixes a number of circular dependency issues that were otherwise felt impossible to resolve

Related Tickets & Documents

Supersedes #3669 #3771
Closes #3882 #4088

QA Instructions, Screenshots, Recordings
Basic functionality to review:

Use shift and ctrl/cmd to select multiple images
Drag and drop images between boards
Right click multi-selection to change the board for a group of images
Right click multi-selection to delete many images at once
General drive-through of gallery features & auto-add

Specific cases:

Deleting a single image should still work as before
Deleting a single image that is in use in another feature should prompt you and reset that feature when deletion is confirmed
Same as above for multiple images
Adding a single image to a board should still work as before
Adding multiple images to a board should work via context menu and dnd

There's a lot to test here and some complicated cache updates, so it's hard to test all the possible sequences of events.

Added/updated tests?

[ ] Yes
[x] No 😬

[optional] Are there any post deployment tasks we need to perform?

I have only skimmed this so far, but wondering what happens when a group of images are moved from board A to board B? I only see functionality to add or remove from board, not change boards.

@maryhipp Because images can only be on one board, creating a board image is equivalent to both moving an image from one board to another, and adding image to a board.
We could add move as a distinct operation but there's substantially more logic to add, and it makes multiple image operations a lot more complex.

@maryhipp Because images can only be on one board, creating a board image is equivalent to both moving an image from one board to another, and adding image to a board.
We could add move as a distinct operation but there's substantially more logic to add, and it makes multiple image operations a lot more complex.

OK - I am a bit wary of relying solely on a database constraint to dictate what is essentially business logic (that is my understanding of the implementation); I feel like it could lead to unexpected or unintended behavior if someone isn't aware of it or doesn't understand SQL. This is the only line that is enforcing this, right? ON CONFLICT (image_name) DO UPDATE SET board_id = ?;

OK - I am a bit wary of relying solely on a database constraint to dictate what is essentially business logic (that is my understanding of the implementation); I feel like it could lead to unexpected or unintended behavior if someone isn't aware of it or doesn't understand SQL. This is the only line that is enforcing this, right? ON CONFLICT (image_name) DO UPDATE SET board_id = ?;

Yep that's what handles changing the board if the image is already on another board. A more explicit handling might be to first remove images from their board before adding them, in the add_images_to_board route. Should behave exactly the same

Ok, ready for review. Squashed:
feat: add multi-select to gallery
multi-select actions include:

drag to board to move all to that board
right click to add all to board or delete all

backend changes:

add routes for changing board for list of image names, deleting list of images
change image-specific routes to images/i/{image_name} to not clobber other routes (like images/upload, images/delete)
subclass pydantic BaseModel as BaseModelExcludeNull, which excludes null values when calling dict() on the model. this fixes inconsistent types related to JSON parsing null values into null instead of undefined
remove board_id from remove_image_from_board

frontend changes:

multi-selection stuff uses ImageDTO[] as payloads, for dnd and other mutations. this gives us access to image board_ids when hitting routes, and enables efficient cache updates.
consolidate change board and delete image modals to handle single and multiples
board totals are now re-fetched on mutation and not kept in sync manually - was way too tedious to do this
fixed warning about nested <p> elements
closes https://github.com/invoke-ai/InvokeAI/issues/4088 , need to handle case when autoAddBoardId is "none"
add option to show gallery image delete button on every gallery image

frontend refactors/organisation:

make typegen script js instead of ts
enable noUncheckedIndexedAccess to help avoid bugs when indexing into arrays, many small changes needed to satisfy TS after this
move all image-related endpoints into endpoints/images.ts, its a big file now, but this fixes a number of circular dependency issues that were otherwise felt impossible to resolve

I've updated the PR description with changes and how to test.

I just tested locally and it looks great! Everything seems to be working really well. The only thing I noticed is that when you choose multiple images to delete using multiselect, there is a lengthy pause (this was with like 20 images) in the UI before anything happens. Maybe a small loading state or something would help, but just a nice-to-have.

I just tested locally and it looks great! Everything seems to be working really well. The only thing I noticed is that when you choose multiple images to delete using multiselect, there is a lengthy pause (this was with like 20 images) in the UI before anything happens. Maybe a small loading state or something would help, but just a nice-to-have.

Assuming you mean after you confirm a multiple Delete - I couldn't figure out how to do optimistic updates for these actions without totally invalidating the caches, so we are waiting for the server response before updating the UI. That's the delay
This is the only un-ticked checkbox on the roadmap for this feature... we'd need to "freeze" all images pending mutation (hard) or freeze all image interactions (ugly) while we wait for the network request to finish. If a pause is tenable for now, I'd like to address this in a followup.

We could also just add a loader or something over the gallery during that delay - but agree it can be a follow-up

I've resolved merge conflicts related to #4086 and tested that the auto-assign on click still works. Thanks for the thorough review @brandonrising !


Update file sizes for March 2021 publish

Docs Build status updates of commit 61323be:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sysinternals/downloads/index.md
:white_check_mark:Succeeded
View

sysinternals/downloads/psexec.md
:white_check_mark:Succeeded
View

sysinternals/downloads/pstools.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysinternals-suite.md
:white_check_mark:Succeeded
View

sysinternals/downloads/sysmon.md
:white_check_mark:Succeeded
View

sysinternals/downloads/tcpview.md
:white_check_mark:Succeeded
View

sysinternals/downloads/winobj.md
:white_check_mark:Succeeded
View

sysinternals/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


fix: maybeSingle

There were multiple problems:

Parsing of the error failed, because hint was missing
data was not null, but an empty string?
On null it returned a PostgrestResponse instead of data directly, because count  was not null.

I only have flutter channel beta and stable installed. Looks like the formatter changes in the latest dart release.

@dshukertjr I will fix supabase-community/supabase-flutter/issues/201 today as well, so please wait with release.


Prefer implict equals matcher in test expectations.

@Hixie: as per our conversation, using the implicit equals matcher (see test docs here) can make expectations a wee bit more concise.

cc @devoncarew


Why does Map::try_get not take a reference to the generic key?

Since into_val takes a reference to self, why does this method not use &K?
https://github.com/stellar/rs-soroban-sdk/blob/d40bd031c14fbd3d75cf4473486ef7ef15af3364/soroban-sdk/src/map.rs#L350-L352

It should probably be using the Borrow type instead, similar to:

https://doc.rust-lang.org/stable/std/collections/struct.HashMap.html#method.get

We could make the change to Borrow, but it'll technically be a breaking change, although for most people it won't because the original value should continue to work. If the change can be contributed before v22 release it could probably get in.


Duplicate column name on H2 with MODE=PostgreSQL

Running migrations on H2 with MODE=PostgreSQL causes following exception.
io.r2dbc.spi.R2dbcBadGrammarException: Duplicate column name "?column?"; SQL statement:
insert into "migrations_lock"(id, locked) select * from (select 1, false) x  where not exists(select * from "migrations_lock") [42121-214]

I am not sure whether that's an issue of r2dbc-migrate or r2dbc-h2. I don`t understand why that issue occurs.

Versions

name.nkonev.r2dbc-migrate:r2dbc-migrate-spring-boot-starter:2.7.6
org.springframework.boot:spring-boot-starter-parent:2.7.1

Complete logs
application.yml

Try to force postgres dialect, e. g.
spring:
  r2dbc:
    url: r2dbc:h2:mem:///testdb;MODE=PostgreSQL
    username: sa
    password: ''

r2dbc:
  migrate:
    dialect: POSTGRESQL
    resources-paths:
      - classpath:/db/migration/*.sql

Now I get a syntax error instead of duplicate column.
io.r2dbc.spi.R2dbcBadGrammarException: Syntax error in SQL statement "insert into ""migrations_lock""(id, locked) values (1, false) [*]on conflict (id) do nothing"; SQL statement:
insert into "migrations_lock"(id, locked) values (1, false) on conflict (id) do nothing [42000-214]

https://github.com/kressi/r2dbc-migration-h2-issue/runs/7161093152?check_suite_focus=true#step:5:965

@kressi
It seems the issue is caused by quoted table names

But H2 migrations are works without Postgres compatibility mode.
I also tried to provide custom dialect to avoid quotes but H2 in Postgres compatibility mode isn't able to parse modern Postgres syntax
@Component
    public static class SimplePostgresqlDialect implements SqlQueries {
        @Override
        public List<String> createInternalTables() {
            return Arrays.asList(
                    "create table if not exists simple_migrations(id int primary key, description text)",
                    "create table if not exists simple_migrations_lock(id int primary key, locked boolean not null)",
                    "insert into simple_migrations_lock(id, locked) values (1, false) on conflict (id) do nothing"
            );
        }

        @Override
        public String getMaxMigration() {
            return "select max(id) from simple_migrations";
        }

        public String insertMigration() {
            return "insert into simple_migrations(id, description) values ($1, $2)";
        }

        @Override
        public Statement createInsertMigrationStatement(Connection connection, FilenameParser.MigrationInfo migrationInfo) {
            return connection
                    .createStatement(insertMigration())
                    .bind("$1", migrationInfo.getVersion())
                    .bind("$2", migrationInfo.getDescription());
        }

        @Override
        public String tryAcquireLock() {
            return "update simple_migrations_lock set locked = true where id = 1 and locked = false";
        }

        @Override
        public String releaseLock() {
            return "update simple_migrations_lock set locked = false where id = 1";
        }
    }

io.r2dbc.spi.R2dbcBadGrammarException: Syntax error in SQL statement "insert into simple_migrations_lock(id, locked) values (1, false) [*]on conflict (id) do nothing"; SQL statement:
insert into simple_migrations_lock(id, locked) values (1, false) on conflict (id) do nothing [42000-214]

This library is heavy relies on upser-like syntax CREATE TABLE .. ON CONFLICT DO NOTHING so I can conclude that it's no way to start it  against H2 in Postgres compatibility mode.

You can play with tuning dialect or (I recommend) to use testcontainers as I did https://github.com/nkonev/r2dbc-migrate-example


Error "Envelope submission failed" when capturing exception

Platform:

[ ]  Dart
[X]  Flutter Android or iOS
[ ]  Flutter Web

IDE:

[X]  VSCode
[ ]  IntelliJ/AS
[ ]  XCode
[ ]  Other, which one?

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

[ ]  Enabled
[X]  Disabled

Platform installed with:

[X] pub.dev
[ ] GitHub

Output of the command flutter doctor -v below:
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.1 21C52 darwin-arm, locale es-ES)
    • Flutter version 2.10.5 at /Applications/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (5 months ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/pc379/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • Java binary at: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.68.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (2 available)
    • M2006C3LG (mobile) • PVSS995T69VSBA6H • android-arm    • Android 10 (API 29)
    • Chrome (web)       • chrome           • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

The version of the SDK (See pubspec.lock):
6.9.1

I have the following issue:
Error invalid event envelope when capturing an exception
Steps to reproduce:
When this code is exectuted the error Envelope submission failed appears. This only occurs on Android platform. On iOS the issue is sent to sentry correctly.
try {
    [][1];
} catch (e) {
    Sentry.captureException(e);
}

Actual result:
D/Sentry  ( 6185): Request failed, API returned 400
D/Sentry  ( 6185): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  ( 6185): The transport failed to send the envelope with response code 400
E/Sentry  ( 6185): Envelope submission failed
E/Sentry  ( 6185): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  ( 6185): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:258)
E/Sentry  ( 6185): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:197)
E/Sentry  ( 6185): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  ( 6185): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  ( 6185): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  ( 6185): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  ( 6185): 	at java.lang.Thread.run(Thread.java:919)

Complete logs
D/Sentry  ( 6185): Serializing object: {
D/Sentry  ( 6185): 	"timestamp": "2022-08-31T15:15:24.495Z",
D/Sentry  ( 6185): 	"exception": {
D/Sentry  ( 6185): 		"values": [
D/Sentry  ( 6185): 			{
D/Sentry  ( 6185): 				"type": "RangeError",
D/Sentry  ( 6185): 				"value": "RangeError (index): Invalid value: Valid value range is empty: 1",
D/Sentry  ( 6185): 				"stacktrace": {
D/Sentry  ( 6185): 					"frames": [
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "isolate_patch.dart",
D/Sentry  ( 6185): 							"function": "_RawReceivePortImpl._handleMessage",
D/Sentry  ( 6185): 							"lineno": 192,
D/Sentry  ( 6185): 							"colno": 12,
D/Sentry  ( 6185): 							"abs_path": "dart:isolate-patch/isolate_patch.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "timer_impl.dart",
D/Sentry  ( 6185): 							"function": "_Timer._handleMessage",
D/Sentry  ( 6185): 							"lineno": 426,
D/Sentry  ( 6185): 							"colno": 5,
D/Sentry  ( 6185): 							"abs_path": "dart:isolate-patch/timer_impl.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "timer_impl.dart",
D/Sentry  ( 6185): 							"function": "_Timer._runTimers",
D/Sentry  ( 6185): 							"lineno": 395,
D/Sentry  ( 6185): 							"colno": 19,
D/Sentry  ( 6185): 							"abs_path": "dart:isolate-patch/timer_impl.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "timer_patch.dart",
D/Sentry  ( 6185): 							"function": "Timer._createTimer.<fn>",
D/Sentry  ( 6185): 							"lineno": 18,
D/Sentry  ( 6185): 							"colno": 15,
D/Sentry  ( 6185): 							"abs_path": "dart:async-patch/timer_patch.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "zone.dart",
D/Sentry  ( 6185): 							"function": "_CustomZone.bindCallback.<fn>",
D/Sentry  ( 6185): 							"lineno": 1260,
D/Sentry  ( 6185): 							"colno": 23,
D/Sentry  ( 6185): 							"abs_path": "dart:async/zone.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "zone.dart",
D/Sentry  ( 6185): 							"function": "_CustomZone.run",
D/Sentry  ( 6185): 							"lineno": 1328,
D/Sentry  ( 6185): 							"colno": 19,
D/Sentry  ( 6185): 							"abs_path": "dart:async/zone.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "zone.dart",
D/Sentry  ( 6185): 							"function": "_rootRun",
D/Sentry  ( 6185): 							"lineno": 1426,
D/Sentry  ( 6185): 							"colno": 13,
D/Sentry  ( 6185): 							"abs_path": "dart:async/zone.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "zone.dart",
D/Sentry  ( 6185): 							"function": "_CustomZone.bindCallbackGuarded.<fn>",
D/Sentry  ( 6185): 							"lineno": 1276,
D/Sentry  ( 6185): 							"colno": 23,
D/Sentry  ( 6185): 							"abs_path": "dart:async/zone.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "zone.dart",
D/Sentry  ( 6185): 							"function": "_CustomZone.runGuarded",
D/Sentry  ( 6185): 							"lineno": 1236,
D/Sentry  ( 6185): 							"colno": 7,
D/Sentry  ( 6185): 							"abs_path": "dart:async/zone.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "zone.dart",
D/Sentry  ( 6185): 							"function": "_CustomZone.run",
D/Sentry  ( 6185): 							"lineno": 1328,
D/Sentry  ( 6185): 							"colno": 19,
D/Sentry  ( 6185): 							"abs_path": "dart:async/zone.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "zone.dart",
D/Sentry  ( 6185): 							"function": "_rootRun",
D/Sentry  ( 6185): 							"lineno": 1418,
D/Sentry  ( 6185): 							"colno": 47,
D/Sentry  ( 6185): 							"abs_path": "dart:async/zone.dart",
D/Sentry  ( 6185): 							"in_app": false
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "binding.dart",
D/Sentry  ( 6185): 							"function": "SchedulerBinding.scheduleWarmUpFrame.<fn>",
D/Sentry  ( 6185): 							"lineno": 862,
D/Sentry  ( 6185): 							"colno": 7,
D/Sentry  ( 6185): 							"abs_path": "package:flutter/src/scheduler/binding.dart",
D/Sentry  ( 6185): 							"in_app": false,
D/Sentry  ( 6185): 							"package": "flutter"
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "binding.dart",
D/Sentry  ( 6185): 							"function": "SchedulerBinding.handleDrawFrame",
D/Sentry  ( 6185): 							"lineno": 1081,
D/Sentry  ( 6185): 							"colno": 9,
D/Sentry  ( 6185): 							"abs_path": "package:flutter/src/scheduler/binding.dart",
D/Sentry  ( 6185): 							"in_app": false,
D/Sentry  ( 6185): 							"package": "flutter"
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "binding.dart",
D/Sentry  ( 6185): 							"function": "SchedulerBinding._invokeFrameCallback",
D/Sentry  ( 6185): 							"lineno": 1144,
D/Sentry  ( 6185): 							"colno": 15,
D/Sentry  ( 6185): 							"abs_path": "package:flutter/src/scheduler/binding.dart",
D/Sentry  ( 6185): 							"in_app": false,
D/Sentry  ( 6185): 							"package": "flutter"
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "binding.dart",
D/Sentry  ( 6185): 							"function": "RendererBinding._handlePersistentFrameCallback",
D/Sentry  ( 6185): 							"lineno": 363,
D/Sentry  ( 6185): 							"colno": 5,
D/Sentry  ( 6185): 							"abs_path": "package:flutter/src/rendering/binding.dart",
D/Sentry  ( 6185): 							"in_app": false,
D/Sentry  ( 6185): 							"package": "flutter"
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "binding.dart",
D/Sentry  ( 6185): 							"function": "WidgetsBinding.drawFrame",
D/Sentry  ( 6185): 							"lineno": 882,
D/Sentry  ( 6185): 							"colno": 21,
D/Sentry  ( 6185): 							"abs_path": "package:flutter/src/widgets/binding.dart",
D/Sentry  ( 6185): 							"in_app": false,
D/Sentry  ( 6185): 							"package": "flutter"
D/Sentry  ( 6185): 						},
D/Sentry  ( 6185): 						{
D/Sentry  ( 6185): 							"filename": "framework.dart",
D/Sentry  ( 6185): 							"function": "BuildOwner.buildScope",
D/Sentry  ( 6185): 							"lineno": 2659,
D/Sentry  ( 6185): 							"colno": 19,
D/Sentry  ( 6185): 							"abs_path": "package:flutter/src
D/Sentry  ( 6185): Serializing object: {
D/Sentry  ( 6185): 	"sid": "579ec96c-385a-4495-a0e1-d2e6dd29bf54",
D/Sentry  ( 6185): 	"did": "50b08f2d-9ea3-4b79-a4a4-2fd5ff061c16",
D/Sentry  ( 6185): 	"started": "2022-08-31T15:15:09.827Z",
D/Sentry  ( 6185): 	"status": "ok",
D/Sentry  ( 6185): 	"seq":<PHONE_NUMBER>008,
D/Sentry  ( 6185): 	"errors": 1,
D/Sentry  ( 6185): 	"timestamp": "2022-08-31T15:16:04.008Z",
D/Sentry  ( 6185): 	"attrs": {
D/Sentry  ( 6185): 		"release"<EMAIL_ADDRESS>D/Sentry  ( 6185): 		"environment": "qa"
D/Sentry  ( 6185): 	}
D/Sentry  ( 6185): }
I/System.out( 6185): [OkHttp] sendRequest>>
I/System.out( 6185): [OkHttp] sendRequest<<
D/Sentry  ( 6185): Request failed, API returned 400
D/Sentry  ( 6185): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  ( 6185): The transport failed to send the envelope with response code 400
E/Sentry  ( 6185): Envelope submission failed
E/Sentry  ( 6185): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  ( 6185): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:258)
E/Sentry  ( 6185): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:197)
E/Sentry  ( 6185): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  ( 6185): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  ( 6185): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  ( 6185): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  ( 6185): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  ( 6185): Marking envelope submission result: false
W/Sentry  ( 6185): Envelope had a failed capture at item 1. No more items will be sent.
D/Sentry  ( 6185): File '/data/user/0/com.xxxx.xxxx/cache/sentry/1383839c21281c87ec64fd213a61397db4d69b7d/outbox/92d33da7-341c-4b05-a581-65b7f2a40b82' is done.

Expected result:
Issue sent to sentry

Hi, I can confirm that, apparently, it's either something during the JSON serialization/client, let me check.

@aragonet Can you provide a minimal reproducible example? I've tested on the latest stable version and it works, more context is also good, such as OS version, emulator or real device, brand, etc.

Code example:
import 'package:flutter/material.dart';
import 'package:sentry_flutter/sentry_flutter.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await SentryFlutter.init(
    (options) {
      options.dsn =<EMAIL_ADDRESS>      options.environment = 'qa';
      options.attachStacktrace = true;
      options.enableAutoSessionTracking = true;
      options.debug = true;
    },
    appRunner: () => runApp(WelcomePage()),
  );
}

class WelcomePage extends StatefulWidget {
  @override
  _WelcomePageState createState() => _WelcomePageState();
}

class _WelcomePageState extends State<WelcomePage> {
  @override
  void initState() {
    super.initState();
    try {
      [][1];
    } catch (e) {
      Sentry.captureException(e);
    }
  }

  @override
  Widget build(BuildContext context) {
    return const SizedBox();
  }
}

 Complete logs
Launching lib/main.dart on M2006C3LG in debug mode...
✓  Built build/app/outputs/flutter-apk/app-qa-debug.apk.
W/FlutterActivityAndFragmentDelegate(25226): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
D/NetworkSecurityConfig(25226): No Network Security Config specified, using platform default
I/System.out(25226): [okhttp]:check permission begin!
I/xxxx(25226): The ClassLoaderContext is a special shared library.
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/xxxx(25226): The ClassLoaderContext is a special shared library.
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
I/CleverTapResponse(25226): Done processing response!
Connecting to VM Service at ws://<IP_ADDRESS>:62693/ujUOGHlZWiU=/ws
I/xxxx(25226): ProcessProfilingInfo new_methods=4729 is saved saved_to_disk=1 resolve_classes_delay=8000
D/Sentry  (25226): SU isn't found on this Device.
I/Sentry  (25226): Initializing SDK with DSN: 'https://xxxx@xxxx/3'
W/pool-15-thread-(25226): type=1400 audit(0.0:11563): avc: denied { read } for name="version" dev="proc" ino=4026532063 scontext=u:r:untrusted_app:s0:c233,c256,c512,c768 tcontext=u:object_r:proc_version:s0 tclass=file permissive=0
I/Sentry  (25226): GlobalHubMode: 'true'
D/Sentry  (25226): UncaughtExceptionHandlerIntegration enabled: true
D/Sentry  (25226): default UncaughtExceptionHandler class='org.chromium.base.JavaExceptionReporter'
D/Sentry  (25226): UncaughtExceptionHandlerIntegration installed.
D/Sentry  (25226): ShutdownHookIntegration installed.
D/Sentry  (25226): SendCachedEventFireAndForgetIntegration installed.
D/Sentry  (25226): NdkIntegration enabled: true
D/Sentry  (25226): Started processing cached files from /data/user/0/xxxx/cache/sentry
D/Sentry  (25226): Processing dir. /data/user/0/xxxx/cache/sentry
I/sentry-native(25226): using database path "/data/data/xxxx/cache/sentry/.sentry-native"
D/sentry-native(25226): starting backend
D/Sentry  (25226): Processing 9 items from cache dir /data/user/0/xxxx/cache/sentry
D/Sentry  (25226): File /data/user/0/xxxx/cache/sentry/outbox is not a File.
D/Sentry  (25226): File /data/user/0/xxxx/cache/sentry/.sentry-native is not a File.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/session.json
D/Sentry  (25226): NdkIntegration installed.
D/Sentry  (25226): File '/data/user/0/xxxx/cache/sentry/session.json' doesn't match extension expected.
D/Sentry  (25226): Registering EnvelopeFileObserverIntegration for path: /data/user/0/xxxx/cache/sentry/outbox
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/4279b103-45d4-4826-bf16-c8cf2c7234e5.envelope
D/Sentry  (25226): EnvelopeFileObserverIntegration installed.
D/Sentry  (25226): SendCachedEventFireAndForgetIntegration installed.
D/Sentry  (25226): AnrIntegration enabled: false
D/Sentry  (25226): enableSessionTracking enabled: true
D/Sentry  (25226): enableAppLifecycleBreadcrumbs enabled: true
D/Sentry  (25226): Captured Envelope is already cached
D/Sentry  (25226): AppLifecycleIntegration installed.
D/Sentry  (25226): ActivityLifecycleIntegration enabled: true
W/Sentry  (25226): Current session is not ended, we'd need to end it.
D/Sentry  (25226): ActivityLifecycleIntegration installed.
D/Sentry  (25226): UserInteractionIntegration enabled: true
D/Sentry  (25226): UserInteractionIntegration installed.
D/Sentry  (25226): AppComponentsBreadcrumbsIntegration enabled: true
D/Sentry  (25226): AppComponentsBreadcrumbsIntegration installed.
D/Sentry  (25226): SystemEventsBreadcrumbsIntegration enabled: true
D/Sentry  (25226): SystemEventsBreadcrumbsIntegration installed.
D/Sentry  (25226): enableSystemEventsBreadcrumbs enabled: true
I/Sentry  (25226): TYPE_AMBIENT_TEMPERATURE is not available.
D/Sentry  (25226): enableSystemEventBreadcrumbs enabled: true
D/Sentry  (25226): Serializing object: {"sid":"77daafea-d719-4a41-8bd7-3505775268c5","did":"50b08f2d-9ea3-4b79-a4a4-2fd5ff061c16","started":"2022-09-05T13:15:14.689Z","status":"exited","seq":1662383830123,"duration":115.434,"timestamp":"2022-09-05T13:17:10.123Z","attrs":{"release":"xxxx@2.2.19+211","environment":"qa"}}
D/Sentry  (25226): Serializing object: {"sid":"1529d09e-b84b-48e4-9e5d-8da31b76086e","did":"50b08f2d-9ea3-4b79-a4a4-2fd5ff061c16","init":true,"started":"2022-09-05T13:17:10.101Z","status":"ok","timestamp":"2022-09-05T13:17:10.101Z","attrs":{"release":"xxxx@2.2.19+211","environment":"qa"}}
D/Sentry  (25226): Serializing object: {"sid":"1529d09e-b84b-48e4-9e5d-8da31b76086e","did":"50b08f2d-9ea3-4b79-a4a4-2fd5ff061c16","init":true,"started":"2022-09-05T13:17:10.101Z","status":"ok","timestamp":"2022-09-05T13:17:10.101Z","attrs":{"release":"xxxx@2.2.19+211","environment":"qa"}}
D/Sentry  (25226): Adding Envelope to offline storage: /data/user/0/xxxx/cache/sentry/4efd28fc-41eb-4e79-9fec-d92a09caa46b.envelope
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
[sentry] [debug] release<EMAIL_ADDRESS>I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Encoded text cannot have a 6-bit remainder."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/4279b103-45d4-4826-bf16-c8cf2c7234e5.envelope.
D/Sentry  (25226): File /data/user/0/xxxx/cache/sentry/1383839c21281c87ec64fd213a61397db4d69b7d is not a File.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/d47880ed-cd99-4d35-8d9e-77b386285a35.envelope
D/Sentry  (25226): Captured Envelope is already cached
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/d47880ed-cd99-4d35-8d9e-77b386285a35.envelope.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/152a6ba8-0547-40d1-b8f9-04ebf613c7a8.envelope
D/Sentry  (25226): Captured Envelope is already cached
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/152a6ba8-0547-40d1-b8f9-04ebf613c7a8.envelope.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/e20f63d5-6f92-4cb6-90b5-ea52a891f05a.envelope
D/Sentry  (25226): Captured Envelope is already cached
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
W/RenderInspector(25226): QueueBuffer time out on xxxx/xxxx.MainActivity, count=1, avg=18 ms, max=18 ms.
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/e20f63d5-6f92-4cb6-90b5-ea52a891f05a.envelope.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/febe00a3-b1eb-4537-aaf3-849b0ebcf1cd.envelope
D/Sentry  (25226): Captured Envelope is already cached
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Encoded text cannot have a 6-bit remainder."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/febe00a3-b1eb-4537-aaf3-849b0ebcf1cd.envelope.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/73342e9f-df22-4e52-821c-9948d6ca275c.envelope
D/Sentry  (25226): Captured Envelope is already cached
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/73342e9f-df22-4e52-821c-9948d6ca275c.envelope.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/27f3e02e-b8bb-4732-ad77-35abfc52c28c.envelope
D/Sentry  (25226): Captured Envelope is already cached
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/27f3e02e-b8bb-4732-ad77-35abfc52c28c.envelope.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/a5f1bd84-3482-41ae-a729-5b61c5319b60.envelope
D/Sentry  (25226): Captured Envelope is already cached
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Encoded text cannot have a 6-bit remainder."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/a5f1bd84-3482-41ae-a729-5b61c5319b60.envelope.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/66924b4a-6012-4059-9d57-63e28a28c43c.envelope
D/Sentry  (25226): Captured Envelope is already cached
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
D/Sentry  (25226): Deleted file /data/user/0/xxxx/cache/sentry/66924b4a-6012-4059-9d57-63e28a28c43c.envelope.
D/Sentry  (25226): Finished processing cached files from /data/user/0/xxxx/cache/sentry
D/Sentry  (25226): Started processing cached files from /data/user/0/xxxx/cache/sentry/outbox
D/Sentry  (25226): Processing dir. /data/user/0/xxxx/cache/sentry/outbox
D/Sentry  (25226): Processing 4 items from cache dir /data/user/0/xxxx/cache/sentry/outbox
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/outbox/710186c6-d11c-48c9-a045-ec8a22cecae7
D/Sentry  (25226): Processing Envelope with 1 item(s)
W/xxxx(25226): Accessing hidden field Lsun/misc/Unsafe;->theUnsafe:Lsun/misc/Unsafe; (greylist, reflection, allowed)
W/xxxx(25226): Accessing hidden method Lsun/misc/Unsafe;->allocateInstance(Ljava/lang/Class;)Ljava/lang/Object; (greylist, reflection, allowed)
D/Sentry  (25226): Capturing event: f65f3c236e314125bd576f5d2e4aaa0c
D/Sentry  (25226): Event was cached so not applying scope: f65f3c236e314125bd576f5d2e4aaa0c
D/Sentry  (25226): Event was cached so not applying data relevant to the current app execution/version: f65f3c236e314125bd576f5d2e4aaa0c
D/Sentry  (25226): Event was cached so not applying data relevant to the current app execution/version: f65f3c236e314125bd576f5d2e4aaa0c
I/Sentry  (25226): Not possible to read external files directory
D/Sentry  (25226): Captured Envelope is already cached
D/Sentry  (25226): Item 1 is being captured.
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
D/Sentry  (25226): Serializing object: {"exception":{"values":[{"stacktrace":{"frames":[{"abs_path":"dart:isolate-patch/isolate_patch.dart","colno":12,"filename":"isolate_patch.dart","function":"_RawReceivePortImpl._handleMessage","in_app":false,"lineno":192},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":5,"filename":"timer_impl.dart","function":"_Timer._handleMessage","in_app":false,"lineno":426},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":19,"filename":"timer_impl.dart","function":"_Timer._runTimers","in_app":false,"lineno":395},{"abs_path":"dart:async-patch/timer_patch.dart","colno":15,"filename":"timer_patch.dart","function":"Timer._createTimer.<fn>","in_app":false,"lineno":18},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallback.<fn>","in_app":false,"lineno":1260},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":13,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1426},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallbackGuarded.<fn>","in_app":false,"lineno":1276},{"abs_path":"dart:async/zone.dart","colno":7,"filename":"zone.dart","function":"_CustomZone.runGuarded","in_app":false,"lineno":1236},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":47,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1418},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.scheduleAttachRootWidget.<fn>","in_app":false,"lineno":924,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.attachRootWidget","in_app":false,"lineno":944,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":13,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree","in_app":false,"lineno":1111,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":19,"filename":"framework.dart","function":"BuildOwner.buildScope","in_app":false,"lineno":2600,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":18,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree.<fn>","in_app":false,"lineno":1112,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":5,"filename":"binding.dart","function":"RenderObjectToWidgetElement.mount","in_app":false,"lineno":1167,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":16,"filename":"binding.dart","function":"RenderObjectToWidgetElement._rebuild","in_app":false,"lineno":1198,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":18,"filename":"framework.dart","function":"Element.updateChild","in_app":false,"lineno":3540,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":14,"filename":"framework.dart","function":"Element.inflateWidget","in_app":false,"lineno":3790,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":5,"filename":"framework.dart","function":"ComponentElement.mount","in_app":false,"lineno":4729,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":57,"filename":"framework.dart","function":"StatefulElement._firstBuild","in_app":false,"lineno":4893,"unknown":{"package":"flutter"}},{"packa
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
W/Sentry  (25226): Envelope had a failed capture at item 1. No more items will be sent.
D/Sentry  (25226): File '/data/user/0/xxxx/cache/sentry/outbox/710186c6-d11c-48c9-a045-ec8a22cecae7' is done.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/outbox/c7b66527-b91e-4fcb-ad63-ed2a1cf6f84e
D/Sentry  (25226): Processing Envelope with 1 item(s)
D/Sentry  (25226): Capturing event: cf6f8a77b6a14fcfa176816b59b318e8
D/Sentry  (25226): Event was cached so not applying scope: cf6f8a77b6a14fcfa176816b59b318e8
D/Sentry  (25226): Event was cached so not applying data relevant to the current app execution/version: cf6f8a77b6a14fcfa176816b59b318e8
D/Sentry  (25226): Event was cached so not applying data relevant to the current app execution/version: cf6f8a77b6a14fcfa176816b59b318e8
I/Sentry  (25226): Not possible to read external files directory
D/Sentry  (25226): Captured Envelope is already cached
D/Sentry  (25226): Item 1 is being captured.
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
D/Sentry  (25226): Serializing object: {"exception":{"values":[{"stacktrace":{"frames":[{"abs_path":"dart:isolate-patch/isolate_patch.dart","colno":12,"filename":"isolate_patch.dart","function":"_RawReceivePortImpl._handleMessage","in_app":false,"lineno":192},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":5,"filename":"timer_impl.dart","function":"_Timer._handleMessage","in_app":false,"lineno":426},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":19,"filename":"timer_impl.dart","function":"_Timer._runTimers","in_app":false,"lineno":395},{"abs_path":"dart:async-patch/timer_patch.dart","colno":15,"filename":"timer_patch.dart","function":"Timer._createTimer.<fn>","in_app":false,"lineno":18},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallback.<fn>","in_app":false,"lineno":1260},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":13,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1426},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallbackGuarded.<fn>","in_app":false,"lineno":1276},{"abs_path":"dart:async/zone.dart","colno":7,"filename":"zone.dart","function":"_CustomZone.runGuarded","in_app":false,"lineno":1236},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":47,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1418},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.scheduleAttachRootWidget.<fn>","in_app":false,"lineno":924,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.attachRootWidget","in_app":false,"lineno":944,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":13,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree","in_app":false,"lineno":1111,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":19,"filename":"framework.dart","function":"BuildOwner.buildScope","in_app":false,"lineno":2600,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":18,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree.<fn>","in_app":false,"lineno":1112,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":5,"filename":"binding.dart","function":"RenderObjectToWidgetElement.mount","in_app":false,"lineno":1167,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":16,"filename":"binding.dart","function":"RenderObjectToWidgetElement._rebuild","in_app":false,"lineno":1198,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":18,"filename":"framework.dart","function":"Element.updateChild","in_app":false,"lineno":3540,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":14,"filename":"framework.dart","function":"Element.inflateWidget","in_app":false,"lineno":3790,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":5,"filename":"framework.dart","function":"ComponentElement.mount","in_app":false,"lineno":4729,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":57,"filename":"framework.dart","function":"StatefulElement._firstBuild","in_app":false,"lineno":4893,"unknown":{"package":"flutter"}},{"packa
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Encoded text cannot have a 6-bit remainder."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
W/Sentry  (25226): Envelope had a failed capture at item 1. No more items will be sent.
D/Sentry  (25226): File '/data/user/0/xxxx/cache/sentry/outbox/c7b66527-b91e-4fcb-ad63-ed2a1cf6f84e' is done.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/outbox/ed9b16e5-8eca-443c-8a72-ae058b6cc47b
D/Sentry  (25226): Processing Envelope with 1 item(s)
D/Sentry  (25226): Capturing event: 6a625c6db0684a6484048b8e998378e8
D/Sentry  (25226): Event was cached so not applying scope: 6a625c6db0684a6484048b8e998378e8
D/Sentry  (25226): Event was cached so not applying data relevant to the current app execution/version: 6a625c6db0684a6484048b8e998378e8
D/Sentry  (25226): Event was cached so not applying data relevant to the current app execution/version: 6a625c6db0684a6484048b8e998378e8
I/Sentry  (25226): Not possible to read external files directory
D/Sentry  (25226): Captured Envelope is already cached
D/Sentry  (25226): Item 1 is being captured.
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
D/Sentry  (25226): Serializing object: {"exception":{"values":[{"stacktrace":{"frames":[{"abs_path":"dart:isolate-patch/isolate_patch.dart","colno":12,"filename":"isolate_patch.dart","function":"_RawReceivePortImpl._handleMessage","in_app":false,"lineno":192},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":5,"filename":"timer_impl.dart","function":"_Timer._handleMessage","in_app":false,"lineno":426},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":19,"filename":"timer_impl.dart","function":"_Timer._runTimers","in_app":false,"lineno":395},{"abs_path":"dart:async-patch/timer_patch.dart","colno":15,"filename":"timer_patch.dart","function":"Timer._createTimer.<fn>","in_app":false,"lineno":18},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallback.<fn>","in_app":false,"lineno":1260},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":13,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1426},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallbackGuarded.<fn>","in_app":false,"lineno":1276},{"abs_path":"dart:async/zone.dart","colno":7,"filename":"zone.dart","function":"_CustomZone.runGuarded","in_app":false,"lineno":1236},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":47,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1418},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.scheduleAttachRootWidget.<fn>","in_app":false,"lineno":924,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.attachRootWidget","in_app":false,"lineno":944,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":13,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree","in_app":false,"lineno":1111,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":19,"filename":"framework.dart","function":"BuildOwner.buildScope","in_app":false,"lineno":2600,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":18,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree.<fn>","in_app":false,"lineno":1112,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":5,"filename":"binding.dart","function":"RenderObjectToWidgetElement.mount","in_app":false,"lineno":1167,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":16,"filename":"binding.dart","function":"RenderObjectToWidgetElement._rebuild","in_app":false,"lineno":1198,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":18,"filename":"framework.dart","function":"Element.updateChild","in_app":false,"lineno":3540,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":14,"filename":"framework.dart","function":"Element.inflateWidget","in_app":false,"lineno":3790,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":5,"filename":"framework.dart","function":"ComponentElement.mount","in_app":false,"lineno":4729,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":57,"filename":"framework.dart","function":"StatefulElement._firstBuild","in_app":false,"lineno":4893,"unknown":{"package":"flutter"}},{"packa
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Invalid byte 31, offset 0."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
W/Sentry  (25226): Envelope had a failed capture at item 1. No more items will be sent.
D/Sentry  (25226): File '/data/user/0/xxxx/cache/sentry/outbox/ed9b16e5-8eca-443c-8a72-ae058b6cc47b' is done.
D/Sentry  (25226): Processing file: /data/user/0/xxxx/cache/sentry/outbox/551b7a76-ec33-4abe-8280-ee6ca0aed9b4
D/Sentry  (25226): Processing Envelope with 1 item(s)
D/Sentry  (25226): Capturing event: 260cb6a1820f4666a2bfa87de3b911b4
D/Sentry  (25226): Event was cached so not applying scope: 260cb6a1820f4666a2bfa87de3b911b4
D/Sentry  (25226): Event was cached so not applying data relevant to the current app execution/version: 260cb6a1820f4666a2bfa87de3b911b4
D/Sentry  (25226): Event was cached so not applying data relevant to the current app execution/version: 260cb6a1820f4666a2bfa87de3b911b4
I/Sentry  (25226): Not possible to read external files directory
D/Sentry  (25226): Captured Envelope is already cached
D/Sentry  (25226): Item 1 is being captured.
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
D/Sentry  (25226): Serializing object: {"exception":{"values":[{"stacktrace":{"frames":[{"abs_path":"dart:isolate-patch/isolate_patch.dart","colno":12,"filename":"isolate_patch.dart","function":"_RawReceivePortImpl._handleMessage","in_app":false,"lineno":192},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":5,"filename":"timer_impl.dart","function":"_Timer._handleMessage","in_app":false,"lineno":426},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":19,"filename":"timer_impl.dart","function":"_Timer._runTimers","in_app":false,"lineno":395},{"abs_path":"dart:async-patch/timer_patch.dart","colno":15,"filename":"timer_patch.dart","function":"Timer._createTimer.<fn>","in_app":false,"lineno":18},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallback.<fn>","in_app":false,"lineno":1260},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":13,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1426},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallbackGuarded.<fn>","in_app":false,"lineno":1276},{"abs_path":"dart:async/zone.dart","colno":7,"filename":"zone.dart","function":"_CustomZone.runGuarded","in_app":false,"lineno":1236},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":47,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1418},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.scheduleAttachRootWidget.<fn>","in_app":false,"lineno":924,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.attachRootWidget","in_app":false,"lineno":944,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":13,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree","in_app":false,"lineno":1111,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":19,"filename":"framework.dart","function":"BuildOwner.buildScope","in_app":false,"lineno":2600,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":18,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree.<fn>","in_app":false,"lineno":1112,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":5,"filename":"binding.dart","function":"RenderObjectToWidgetElement.mount","in_app":false,"lineno":1167,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":16,"filename":"binding.dart","function":"RenderObjectToWidgetElement._rebuild","in_app":false,"lineno":1198,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":18,"filename":"framework.dart","function":"Element.updateChild","in_app":false,"lineno":3540,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":14,"filename":"framework.dart","function":"Element.inflateWidget","in_app":false,"lineno":3790,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":5,"filename":"framework.dart","function":"ComponentElement.mount","in_app":false,"lineno":4729,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":57,"filename":"framework.dart","function":"StatefulElement._firstBuild","in_app":false,"lineno":4893,"unknown":{"package":"flutter"}},{"packa
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Encoded text cannot have a 6-bit remainder."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
W/Sentry  (25226): Envelope had a failed capture at item 1. No more items will be sent.
D/Sentry  (25226): File '/data/user/0/xxxx/cache/sentry/outbox/551b7a76-ec33-4abe-8280-ee6ca0aed9b4' is done.
D/Sentry  (25226): Finished processing cached files from /data/user/0/xxxx/cache/sentry/outbox
D/Sentry  (25226): onEvent fired for EnvelopeFileObserver with event type 8 on path: /data/user/0/xxxx/cache/sentry/outbox for file d4342e41-3d08-49c4-8760-90dfc8968435.
D/Sentry  (25226): Processing Envelope with 1 item(s)
D/Sentry  (25226): Capturing event: 41f3ae0a07a14a7780b88e7176374683
I/Sentry  (25226): Not possible to read external files directory
D/Sentry  (25226): Captured Envelope is already cached
D/Sentry  (25226): Item 1 is being captured.
I/System.out(25226): [okhttp]:check permission begin!
I/System.out(25226): [okhttp]:not MMS!
I/System.out(25226): [okhttp]:not Email!
I/System.out(25226): [socket]:check permission begin!
D/Sentry  (25226): Serializing object: {"exception":{"values":[{"stacktrace":{"frames":[{"abs_path":"dart:isolate-patch/isolate_patch.dart","colno":12,"filename":"isolate_patch.dart","function":"_RawReceivePortImpl._handleMessage","in_app":false,"lineno":192},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":5,"filename":"timer_impl.dart","function":"_Timer._handleMessage","in_app":false,"lineno":426},{"abs_path":"dart:isolate-patch/timer_impl.dart","colno":19,"filename":"timer_impl.dart","function":"_Timer._runTimers","in_app":false,"lineno":395},{"abs_path":"dart:async-patch/timer_patch.dart","colno":15,"filename":"timer_patch.dart","function":"Timer._createTimer.<fn>","in_app":false,"lineno":18},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallback.<fn>","in_app":false,"lineno":1260},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":13,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1426},{"abs_path":"dart:async/zone.dart","colno":23,"filename":"zone.dart","function":"_CustomZone.bindCallbackGuarded.<fn>","in_app":false,"lineno":1276},{"abs_path":"dart:async/zone.dart","colno":7,"filename":"zone.dart","function":"_CustomZone.runGuarded","in_app":false,"lineno":1236},{"abs_path":"dart:async/zone.dart","colno":19,"filename":"zone.dart","function":"_CustomZone.run","in_app":false,"lineno":1328},{"abs_path":"dart:async/zone.dart","colno":47,"filename":"zone.dart","function":"_rootRun","in_app":false,"lineno":1418},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.scheduleAttachRootWidget.<fn>","in_app":false,"lineno":924,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":7,"filename":"binding.dart","function":"WidgetsBinding.attachRootWidget","in_app":false,"lineno":944,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":13,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree","in_app":false,"lineno":1111,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":19,"filename":"framework.dart","function":"BuildOwner.buildScope","in_app":false,"lineno":2600,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":18,"filename":"binding.dart","function":"RenderObjectToWidgetAdapter.attachToRenderTree.<fn>","in_app":false,"lineno":1112,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":5,"filename":"binding.dart","function":"RenderObjectToWidgetElement.mount","in_app":false,"lineno":1167,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/binding.dart","colno":16,"filename":"binding.dart","function":"RenderObjectToWidgetElement._rebuild","in_app":false,"lineno":1198,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":18,"filename":"framework.dart","function":"Element.updateChild","in_app":false,"lineno":3540,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":14,"filename":"framework.dart","function":"Element.inflateWidget","in_app":false,"lineno":3790,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":5,"filename":"framework.dart","function":"ComponentElement.mount","in_app":false,"lineno":4729,"unknown":{"package":"flutter"}},{"package":"flutter","abs_path":"package:flutter/src/widgets/framework.dart","colno":57,"filename":"framework.dart","function":"StatefulElement._firstBuild","in_app":false,"lineno":4893,"unknown":{"package":"flutter"}},{"packa
D/Sentry  (25226): Serializing object: {"sid":"1529d09e-b84b-48e4-9e5d-8da31b76086e","did":"50b08f2d-9ea3-4b79-a4a4-2fd5ff061c16","started":"2022-09-05T13:17:10.101Z","status":"ok","seq":1662383836650,"errors":1,"timestamp":"2022-09-05T13:17:16.650Z","attrs":{"release":"xxxx@2.2.19+211","environment":"qa"}}
I/System.out(25226): [OkHttp] sendRequest>>
I/System.out(25226): [OkHttp] sendRequest<<
D/Sentry  (25226): Request failed, API returned 400
D/Sentry  (25226): {"detail":"failed to read request body","causes":["failed to base64 decode payload","Encoded text cannot have a 6-bit remainder."]}
D/Sentry  (25226): The transport failed to send the envelope with response code 400
E/Sentry  (25226): Envelope submission failed
E/Sentry  (25226): java.lang.IllegalStateException: The transport failed to send the envelope with response code 400
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush(AsyncHttpTransport.java:220)
E/Sentry  (25226): 	at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run(AsyncHttpTransport.java:183)
E/Sentry  (25226): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
E/Sentry  (25226): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Sentry  (25226): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Sentry  (25226): 	at java.lang.Thread.run(Thread.java:919)
D/Sentry  (25226): Marking envelope submission result: false
W/Sentry  (25226): Envelope had a failed capture at item 1. No more items will be sent.
D/Sentry  (25226): File '/data/user/0/xxxx/cache/sentry/outbox/d4342e41-3d08-49c4-8760-90dfc8968435' is done.
Application finished.
Exited (sigterm)

OS version: Android 10
Real device: Redmi 9A
This is the device where we could reproduce the error but on production we do not get any sentry errors from Android devices.
We use the on-premise sentry server (Sentry 21.10.0 0d35c1b), just in case this is helpful.

That is the complete log I can get using flutter run or adb logcat. Don't know why the line is cut off

I've tried with Android Studio and the JSON is still cutted off at the same point. Maybe that's the problem of the serialization?

Not really, can you provide a minimal reproducible example? an empty project on GH would do.

Sorry for the delay @marandaneto, here is a new created project that reproduces the error.
https://github.com/aragonet/sentry_flutter_issue_991

Changing the SDK to 6.9.1 and running the example, everything works out.
Since you are running Sentry yourself, its likely configuration on the server, try to reach out to https://github.com/getsentry/self-hosted folks.

After further investigation we realized the problem wasn't due to our self-hosted Sentry server.
The problem is related to Cloudflare that removes the content of the request.
We suppose it could be the http request headers sent or the payload on Android.
Here are attached the headers on android and iOS and some differences can be appreciated
Android Headers
POST /api/2/envelope/ HTTP/1.1
Host: yyyy.xxxxxxx.com
User-Agent: sentry.java.android/6.11.0
Content-Length: 2571
Accept: application/json
Accept-Encoding: gzip
Cdn-Loop: cloudflare
Cf-Connecting-Ip: xx.xxx.xxx.xxx
Cf-Ipcountry: ES
Cf-Ray: xxxxxxxx
Cf-Visitor: {"scheme":"https"}
Content-Type: application/x-sentry-envelope
X-Forwarded-For: xxx.xx.xx.xxx
X-Forwarded-Host: yyyy.xxxxxxx.com
X-Forwarded-Port: 443
X-Forwarded-Proto: https
X-Forwarded-Server: xxxxxx
X-Real-Ip: xxx.xxx.xx.xxx
X-Sentry-Auth: Sentry sentry_version=7,sentry_client=sentry.java.android/6.11.0,sentry_key=xxxxx

iOS Headers
POST /api/2/envelope/ HTTP/1.1
Host: yyyy.xxxxxxx.com
User-Agent: sentry.cocoa
Content-Length: 2443
Accept: /
Accept-Encoding: gzip
Accept-Language: es-ES,es;q=0.9
Cdn-Loop: cloudflare
Cf-Connecting-Ip: xx.xxx.xxx.xxx
Cf-Ipcountry: ES
Cf-Ray: xxxxxxxx
Cf-Visitor: {"scheme":"https"}
Content-Encoding: gzip
Content-Type: application/x-sentry-envelope
X-Forwarded-For: xxx.xx.xx.xxx
X-Forwarded-Host: yyyy.xxxxxxx.com
X-Forwarded-Port: 443
X-Forwarded-Proto: https
X-Forwarded-Server: xxxxxx
X-Real-Ip: xxx.xxx.xx.xxx
X-Sentry-Auth: Sentry sentry_version=7,sentry_client=sentry.cocoa/7.31.5,sentry_timestamp=1674829990,sentry_key=xxxxx

This is the payload of the request that is received on the sentry server:
�\b

�\b

{"detail":"failed to read request body","causes":["invalid symbol at 0"]}

{"detail":"failed to read request body","causes":["invalid symbol at 0"]}

In Cloudflare we do not have any WAF rule that blocks the request.
How could this be sorted out? Is there a way to configure the client to avoid this behavior on Cloudflare?
Thanks in advance 🙏

We also suspect that maybe Cloudflare doesn't like the \n at the end of the body. But we could not reproduce the http request.

@aragonet if you try using a sentry.io DSN, does it work?

@markushi @romtsn Flutter 6.9.1 uses Android SDK 6.3.1, can you confirm that this is fine?

@marandaneto yes, the bug I was talking about yday was introduced in version 6.6.0 and resolved in version 6.8.0, so 6.3.1 should be fine

Closing in favor of https://github.com/getsentry/team-ingest/issues/63
We can't reproduce it locally with the Flutter and/or Android SDK, likely not a client issue.
Ingest will check this.

We increased the sentry version to sentry_flutter: 6.18.1 and we've got the same behaviour

@marandaneto  @romtsn We're on severally discussión with Cloudflare team. Android SDK encoding is getting as vulnerable payload with XSS.

@marandaneto  @romtsn We're on severally discussión with Cloudflare team. Android SDK encoding is getting as vulnerable payload with XSS.

@segux Could you elaborate on some more detail of the mentioned encoding issue? And how this is related to XSS?

@segux @aragonet can you enable debug: true and copy-paste the "envelope", its a JSON, logged out in logcat, so we can check its content.
If you manually/automatically add breadcrumbs to the event and the content has Strings that contain XSS, this is likely not being encoded, I suspect?

@marandaneto  Hi again, we still having this problem.
I found an hipothesis about that problem.
Watching the requests from ios and android, im watching an important header that in Android is not present:
Content-Encoding: gzip
It could be possible the problem?

@segux that could be the reason, but we're always setting it on the SDK side, so if it gets removed, then it's probably something else
https://github.com/getsentry/sentry-java/blob/8d29d97f110f18b538dcee5ab066b08a9b04c749/sentry/src/main/java/io/sentry/transport/HttpConnection.java#L123


Text of GNU General Public License version 3 is different from official license text

Text of license https://choosealicense.com/licenses/gpl-3.0/
is different from official GPLv3 license text located at https://www.gnu.org/licenses/gpl-3.0.txt
Can you please fix this issue?

This is being worked on in #543

Issue  #543 is Merged, but text of licenses still have differences:
--- choosealicense.com-licenses-gpl-3.0 2017-10-25 09:35:08.013806718 +0300
+++ www.gnu.org-licenses-gpl-3.0.txt    2017-09-30 10:16:26.000000000 +0300
@@ -1,7 +1,7 @@
                     GNU GENERAL PUBLIC LICENSE
                        Version 3, 29 June 2007

- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.

@@ -645,7 +645,7 @@
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License
-    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+    along with this program.  If not, see <https://www.gnu.org/licenses/>.

 Also add information on how to contact you by electronic and paper mail.

@@ -664,11 +664,11 @@
   You should also get your employer (if you work as a programmer) or school,
 if any, to sign a "copyright disclaimer" for the program, if necessary.
 For more information on this, and how to apply and follow the GNU GPL, see
-<http://www.gnu.org/licenses/>.
+<https://www.gnu.org/licenses/>.

   The GNU General Public License does not permit incorporating your program
 into proprietary programs.  If your program is a subroutine library, you
 may consider it more useful to permit linking proprietary applications with
 the library.  If this is what you want to do, use the GNU Lesser General
 Public License instead of this License.  But first, please read
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
+<https://www.gnu.org/licenses/why-not-lgpl.html>.

As described in #543, the https links were only introduced on the gnu.org site last month. I'm not sure they really intended to change the canonical license text, which ought not change, so am not going to make that change here right away.


(WIP) Fix broadcast() usage

Upstream Electrum changed the return value of broadcast().  Previously,
errors would be encoded in the return value.  Now errors are raised as
exceptions, and the return value is just a txid.  This commit fixes our
usage accordingly.

This definitely fixes the errors I was getting.  I'll merge this if the Travis build completes without errors.


Litestar experimental di fixes

@lesnik512 hi!
After problems found in https://github.com/modern-python/that-depends/issues/119 I tried to find a solution that would fix everything
There is one not very pleasant moment with typing, when for the override to work correctly, the request handler parameters must be specified instead of <your type> as <your type> | Any, due to some features of Litetstar work. I don’t expect you to agree to these changes, but I would suggest you review them anyway


Build process leaves temporary directory in place

Ant doesn't support removing temporary directories recursively, so after building the ant-javacard, the temorary directory still exists:
dist:
      [jar] Building jar: /home/lumag/Projects/JC/ant-javacard/ant-javacard.jar

BUILD SUCCESSFUL
Total time: 1 second
[pid 29960] unlink("/tmp/jcpro1902514858") = -1 EISDIR (Is a directory)
[pid 29960] rmdir("/tmp/jcpro1902514858") = -1 ENOTEMPTY (Directory not empty)

and
$ ls -ld /tmp/jcpro1902514858/
drwxr-xr-x 3 lumag lumag 4096 июл 30 15:30 /tmp/jcpro1902514858/

Correct. Thanks for noticing!

@martinpaljak Note. This issue is unrelated to #5 and isn't closed. Ant still creates temporary directories when building ant-javacard. Please reopen.
Note: I do not know any good way to solve this issue if you don't want to have the classes folder.


TimeoutError both in cloud- and local-based tutorial ipynb

Hi!
I got TimeoutError both in cloud- (left part of the screenshot) and local-based (right part) tutorial ipynb. How can I solve this problem?

I think this is easy to solve! Looking at your screenshots, I think that you need to open up the WWT app before running your commands. As the text in the notebook says:

Go to the "View" menu
Select "Activate Command Palette"
Select "AAS WorldWide Telescope"
Then run the Python command

This is a pretty clear usability issue with our integration. I looked into it and I don't think there's any way for the Python code to cause the app to open up automatically when it's invoked ... but we could at least provide an error message with a tip, here. It's a bit tricky because due to the asynchronous way that the components interact, the Python code can't "know" if the app is running as straightforwardly as you might think, but we can still suggest a course of action.

It helped, thanks!