Skip to content

Cannot read properties of undefined (reading 'name') #6277

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

Closed
1 task done
nadirnasir opened this issue Aug 14, 2023 · 6 comments
Closed
1 task done

Cannot read properties of undefined (reading 'name') #6277

nadirnasir opened this issue Aug 14, 2023 · 6 comments
Assignees
Labels
B-bug Bug: general classification S-verified Status: Verified by maintainer

Comments

@nadirnasir
Copy link

Expected Behavior

Insomnia just got updated and demanded restart. I restart and hit 'send' on a saved api call. App crashed as soon as it receives a response form the api.
TypeError: Cannot read properties of undefined (reading 'name') at hde (file:///C:/Users//AppData/Local/insomnia/app-2023.5.0/resources/app.asar/index-13ca93ca.js:84:34818) at async X8 (file:///C:/Users//AppData/Local/insomnia/app-2023.5.0/resources/app.asar/index-13ca93ca.js:84:33181) at async Module.Ie (file:///C:/Users//AppData/Local/insomnia/app-2023.5.0/resources/app.asar/request-7bcb48dc.js:1:7088) at async Sg (file:///C:/Users//AppData/Local/insomnia/app-2023.5.0/resources/app.asar/index-13ca93ca.js:31:3691) at async Ke (file:///C:/Users/***/AppData/Local/insomnia/app-2023.5.0/resources/app.asar/index-13ca93ca.js:30:18467)

image

Actual Behavior

Usually the app shows the API response properly.

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

2023.5.0

What operating system are you using?

Windows

Operating System Version

Windows 10

Installation method

downloaded from insomnia website. The error happened after app updated itself.

Last Known Working Insomnia version

2023.5.0

@nadirnasir nadirnasir added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Aug 14, 2023
@jackkav
Copy link
Contributor

jackkav commented Aug 15, 2023

@nadirnasir Thanks for the report could you describe anything about the request that would help us to reproduce this issue? Any authentication? headers? templating? chains requests?

@ikkira
Copy link

ikkira commented Aug 15, 2023

I also experience a similar situation. The application only functions properly after I deactivate the "insomnia-plugin-save-variables" plugin.

@jackkav jackkav added S-verified Status: Verified by maintainer and removed S-unverified Status: Unverified by maintainer labels Aug 15, 2023
@jackkav jackkav self-assigned this Aug 15, 2023
@g-industrialist
Copy link

I also experience a similar situation. The application only functions properly after I deactivate the "insomnia-plugin-save-variables" plugin.

I dont have this plugin "insomnia-plugin-save-variables", but still fail in 2023.5.0. 2023.4.0 worked very well (now I go to downgrade it first).

@g-industrialist
Copy link

#6277 (comment)

curl --request GET \
  --url https://petstore.swagger.io/v2/user/string

even run petstore sample api , it still fails.

@nadirnasir
Copy link
Author

@nadirnasir Thanks for the report could you describe anything about the request that would help us to reproduce this issue? Any authentication? headers? templating? chains requests?

I also experience a similar situation. The application only functions properly after I deactivate the "insomnia-plugin-save-variables" plugin.

@jackkav I did not do anything special, just a standard POST request I had been using for past couple of weeks constantly during a development project. The only change was the app update notification. After restart the app failed. The API also didn't send any bad data, it was astandard json.

But I think @ikkira is actually is correct. I disabled the installed plugins and the app started working again. @ikkira thanks for the pointer.

These are the plugins I had been using.

  • insomnia-plugin-reqresp-base64
  • insomnia- plugin-timestamp-expander

Had to disabled both one by one to get everything back to normal.

@jackkav
Copy link
Contributor

jackkav commented Aug 15, 2023

I found an issue in http request send with plugins that explains what you are seeing here and it should be resolved in 2023.5.1, thanks for your patience. 👍
If you could confirm, then I'll close this issue. Thanks in advance.

@jackkav jackkav closed this as completed Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-verified Status: Verified by maintainer
Projects
None yet
Development

No branches or pull requests

4 participants