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 send any requests since the latest update #8380

Open
StephenM-J opened this issue Feb 19, 2025 · 8 comments
Open

Unable to send any requests since the latest update #8380

StephenM-J opened this issue Feb 19, 2025 · 8 comments

Comments

@StephenM-J
Copy link

The response I get no matter what type of request (GET, POST, PUT, DELETE) returns the following error:

message: undefined; stack: Error: message: (unknown path) [Line 1, Column 12]
attempted to output null or undefined value; stack: Template render error: (unknown path) [Line 1, Column 12]
attempted to output null or undefined value
at Object.P [as _prettifyError] (file:///Applications/Insomnia.app/Contents/Resources/app.asar/sentry-RNTkbMCO.js:5:39127)
at file:///Applications/Insomnia.app/Contents/Resources/app.asar/sentry-RNTkbMCO.js:19:7018
at ae.root [as rootRenderFunc] (eval at ie._compile (file:///Applications/Insomnia.app/Contents/Resources/app.asar/sentry-RNTkbMCO.js:19:7663), :20:3)
at ie.render (file:///Applications/Insomnia.app/Contents/Resources/app.asar/sentry-RNTkbMCO.js:19:6932)
at ie.renderString (file:///Applications/Insomnia.app/Contents/Resources/app.asar/sentry-RNTkbMCO.js:19:4938)
at M5.render (file:///Applications/Insomnia.app/Contents/Resources/app.asar/sentry-RNTkbMCO.js:76:16068)
at $V.replaceIn (file:///Applications/Insomnia.app/Contents/Resources/app.asar/sentry-RNTkbMCO.js:89:1270)
at vre (file:///Applications/Insomnia.app/Contents/Resources/app.asar/sentry-RNTkbMCO.js:89:10187)
at h (file:///Applications/Insomnia.app/Contents/Resources/app.asar/hiddenBrowserWindow-Cz0sW5QM.js:1:747)
at file:///Applications/Insomnia.app/Contents/Resources/app.asar/hiddenBrowserWindow-Cz0sW5QM.js:1:374
at port.onmessage (/Applications/Insomnia.app/Contents/Resources/app.asar/hidden-window-preload.js:128771:36)
at port.onmessage (/Applications/Insomnia.app/Contents/Resources/app.asar/preload.js:92:18)

@Kiyo5hi
Copy link

Kiyo5hi commented Feb 19, 2025

Got the same error. I noticed that all the requests with pre-request scripts are having this problem.

@Maxim1720
Copy link

I have the same error:

message: undefined; stack: Error: message: (unknown path) [Line 1, Column 15]
attempted to output null or undefined value; stack: Template render error: (unknown path) [Line 1, Column 15]
attempted to output null or undefined value
at Object.P [as _prettifyError] (file:///opt/insomnia/resources/app.asar/sentry-RNTkbMCO.js:5:39127)
at file:///opt/insomnia/resources/app.asar/sentry-RNTkbMCO.js:19:7018
at ae.root [as rootRenderFunc] (eval at ie._compile (file:///opt/insomnia/resources/app.asar/sentry-RNTkbMCO.js:19:7663), :19:3)
at ie.render (file:///opt/insomnia/resources/app.asar/sentry-RNTkbMCO.js:19:6932)
at ie.renderString (file:///opt/insomnia/resources/app.asar/sentry-RNTkbMCO.js:19:4938)
at M5.render (file:///opt/insomnia/resources/app.asar/sentry-RNTkbMCO.js:76:16068)
at $V.replaceIn (file:///opt/insomnia/resources/app.asar/sentry-RNTkbMCO.js:89:1270)
at vre (file:///opt/insomnia/resources/app.asar/sentry-RNTkbMCO.js:89:10187)
at h (file:///opt/insomnia/resources/app.asar/hiddenBrowserWindow-Cz0sW5QM.js:1:747)
at file:///opt/insomnia/resources/app.asar/hiddenBrowserWindow-Cz0sW5QM.js:1:374
at port.onmessage (/opt/insomnia/resources/app.asar/hidden-window-preload.js:128695:36)
at port.onmessage (/opt/insomnia/resources/app.asar/preload.js:92:18)

It's appears when I send request with a After-response script.

@notjaywu
Copy link
Contributor

the 10.3.2-beta.0 release has the complete fix in it, so upgrading to that early release or the 11.0.0-beta.0 release will fix this issue

@kdallas
Copy link

kdallas commented Feb 20, 2025

I believe my issue is connected with the OP's although I've tried both 10.3.2-beta.0 and 11.0.0-beta.0 and the problem is still repeatable on those versions.

Any time I add a Pre-request script of any value (even comments), an extra forward-slash is added to the request URI and I get back a 404 response.

Here's a good working example:

Image

And here's what happens when I populate something in Pre-request:

Image

Whether it is commented code or not, as long as Pre-request is populated with some value, the outcome is the same.

@ihexxa
Copy link
Contributor

ihexxa commented Feb 20, 2025

@kdallas This seems to be another issue which was discussed in this thread: #7603, will look into it in the next.

@notjaywu
Copy link
Contributor

I believe my issue is connected with the OP's although I've tried both 10.3.2-beta.0 and 11.0.0-beta.0 and the problem is still repeatable on those versions.

Any time I add a Pre-request script of any value (even comments), an extra forward-slash is added to the request URI and I get back a 404 response.

Here's a good working example:

Image

And here's what happens when I populate something in Pre-request:

Image

Whether it is commented code or not, as long as Pre-request is populated with some value, the outcome is the same.

As a workaround, you can remove the path /ohip.html from the environment. So, the url should be {{ partnerRatesURL }}/ohip.html, in this way, you should be able to use scripts. Hope it works for you.

@kdallas
Copy link

kdallas commented Feb 20, 2025

As a workaround, you can remove the path /ohip.html from the environment. So, the url should be {{ partnerRatesURL }}/ohip.html, in this way, you should be able to use scripts. Hope it works for you.

Ah I didn't consider that -- will give it a try tomorrow @notjaywu, thanks.

@StephenM-J
Copy link
Author

Can confirm, removing any pre-request scripts have worked for me, will do for the meantime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants