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

Unable to perform Generate Code operation for requests that are already saved in the collections #2497

Open
2 tasks done
vyskh2498 opened this issue Jun 21, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@vyskh2498
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

While trying to perform the generate code operation to convert the saved request as a curl or any other code - the operation is not working and taking to the something went wrong page
Screenshot from 2024-06-21 20-07-05

.bru file to reproduce the bug

No response

Screenshots/Live demo link

image

@vyskh2498 vyskh2498 added the bug Something isn't working label Jun 21, 2024
@vyskh2498 vyskh2498 changed the title Unable to perform Generate Code operation for Store requests Unable to perform Generate Code operation for requests that are already saved in the collections Jun 21, 2024
@pedrohaccorsi
Copy link

same here.

Bruno v1.19.0
MacBook Pro, chip M1 Pro, memory 16GB, OS Version 14.5 (23F79)

@piero
Copy link

piero commented Jun 24, 2024

Same issue.

Bruno v 1.19.0
MacBook Pro, chipset M2 Pro, Sonoma 14.5

@Hyp3rSoniX
Copy link

Yeah, I get this in the console as an error when the error page shows up

framework-80ea8c0f440c6a32.js:9 TypeError: Cannot read properties of undefined (reading 'externalSecrets')
    at getExternalCollectionSecretsForActiveEnvironment (_app-92e2050d0799eab9.js:17:186595)
    at getAllVariables (_app-92e2050d0799eab9.js:17:186042)
    at CodeEditor.addOverlay (443-87262752453bea5b.js:1:100581)
    at CodeEditor.value (443-87262752453bea5b.js:1:104274)
    at lk (framework-80ea8c0f440c6a32.js:9:90626)
    at jk (framework-80ea8c0f440c6a32.js:9:111105)
    at framework-80ea8c0f440c6a32.js:9:111116
    at Qk (framework-80ea8c0f440c6a32.js:9:111628)
    at Fk (framework-80ea8c0f440c6a32.js:9:96297)
    at jg (framework-80ea8c0f440c6a32.js:9:44900)

But not sure if this is the cause of the issue, or an "ignorable error" popping up when clicking on "Generate Code".

@jwetzell
Copy link
Contributor

jwetzell commented Jun 25, 2024

duplicate of #2444 @sanjai0py

@jwetzell
Copy link
Contributor

This has been resolved with the merge of #2501

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

5 participants