bruno: Error generating code snippet

Hi there,

Bruno’s (v 1.9.0) code generation fails on some API entries for me. It has been working for me since the feature was introduced. The only change I made was recently using the .env feature for environment variables. My environment variables setup works fine.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 18 (4 by maintainers)

Most upvoted comments

Same issue with v1.18.0 on Windows image

I’m seeing this as well on v1.12.1. It was working on v1.10.0

I’m using Bruno v1.35.0 and could repro the error using this bru file:

meta {
  name: Foo
  type: http
  seq: 3
}

post {
  url: https://example.com
  body: formUrlEncoded
  auth: none
}

It’s a request that specify request body content type but left the body empty.

image

@helloanoop This now displays “Oops! Something went wrong” when trying to generate code on version 1.19.0: image