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

JSON Body not sent to rollbar #155

Closed
magarrent opened this issue Sep 20, 2023 · 4 comments
Closed

JSON Body not sent to rollbar #155

magarrent opened this issue Sep 20, 2023 · 4 comments
Assignees
Labels
Type: Question Request for information about a components operation.

Comments

@magarrent
Copy link

Hello there!

"rollbar/rollbar-laravel": "^7.2",

I don't see the JSON Body in any error in my rollbar, is this normal behavior? I just came from here: jenssegers#79

I'm missing any configuration or something. Thank you!

@danielmorell danielmorell self-assigned this Sep 22, 2023
@danielmorell danielmorell added the Type: Question Request for information about a components operation. label Sep 22, 2023
@danielmorell
Copy link
Collaborator

Thank you for reaching out Marc.

Could you clarify, just so I make sure I'm giving you the best help. Are you saying the JSON body of the HTTP request that is coming into your Laravel app?

If that is your issue, make sure the include_raw_request_body config option is true. It defaults to false. There are some considerations when using this option. You can read more in our Configuration Reference Docs.

@magarrent
Copy link
Author

Thank you for reaching out Marc.

Could you clarify, just so I make sure I'm giving you the best help. Are you saying the JSON body of the HTTP request that is coming into your Laravel app?

If that is your issue, make sure the include_raw_request_body config option is true. It defaults to false. There are some considerations when using this option. You can read more in our Configuration Reference Docs.

Oou! Didn't know about this! I'll try it, thanks Daniel!

@danielmorell
Copy link
Collaborator

Hey Marc, I just want to circle back and check if that resolved the issue.

@magarrent
Copy link
Author

Hey Marc, I just want to circle back and check if that resolved the issue.

Hey Daniel! Yep sorry, it works now! Didn't know about that option,

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Request for information about a components operation.
Projects
None yet
Development

No branches or pull requests

2 participants