Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "Body omitted because it contains binary data" #1

Open
AlanBoydell opened this issue Sep 5, 2024 · 1 comment
Open

Error: "Body omitted because it contains binary data" #1

AlanBoydell opened this issue Sep 5, 2024 · 1 comment

Comments

@AlanBoydell
Copy link

Using the template, I expect to see en=myCustomEventName in the Request Body, but instead I see the following message:
"Body omitted because it contains binary data".

However the event does indeed show up in the report at the endpoint.

image

Here is the configuration of my tag:

image

For the original GA4 tag, the "en=" variable does indeed appear in the request body.

PS: Thanks and congrats on this amazing tag. It is going to be extremely useful to me. I can't believe it doesn't exist by default.

@mbaersch
Copy link
Owner

mbaersch commented Sep 5, 2024

Hi,

as far as I can see, everything works as expected? Request body inspection in the preview is indeed not very helpful but your request contained the parameter inside the body (at least once) and the template obviously changed the value when it arrived correctly at the endpoint (?)

I think inside Tag Assistant, you will only see a body if it is in JSON format and everything else leads to this message... But I am not very sure about that as Google sometimes builds strange stuff.

If you want to see the new value as a get parameter, the incoming request should already contain it (with a different value for example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants