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

res.setBody() not working with objects in developer #3889

Open
2 tasks done
shakzz31 opened this issue Jan 27, 2025 · 2 comments
Open
2 tasks done

res.setBody() not working with objects in developer #3889

shakzz31 opened this issue Jan 27, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@shakzz31
Copy link

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

res.setBody() doesnt work when changing to Developer Mode.

getting the following error message:
Error invoking remote method 'send-http-request': Error: An object could not be cloned.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

none

@shakzz31 shakzz31 added the bug Something isn't working label Jan 27, 2025
@shakzz31
Copy link
Author

small correction, res.setBody("test") works, but res.setBody({"test":"test"}) does not

@shakzz31 shakzz31 changed the title res.setBody() not working in developer res.setBody() not working with objects in developer Jan 27, 2025
@anusree-bruno anusree-bruno self-assigned this Jan 28, 2025
@anusree-bruno
Copy link
Collaborator

Hi @shakzz31,

Thank you for reporting this. I was able to replicate the issue on my end, and we will work on fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants