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

Getting cannot read value of undefined #731

Closed
aashutoshrathi opened this issue Apr 3, 2020 · 11 comments
Closed

Getting cannot read value of undefined #731

aashutoshrathi opened this issue Apr 3, 2020 · 11 comments
Labels
bug Something isn't working

Comments

@aashutoshrathi
Copy link

Describe the bug
All my request imported from cURL are getting this error
image

To Reproduce
Steps to reproduce the behavior:

  1. Click on import from cURL
  2. import a get curl
  3. send request
  4. See error

Expected behavior
The request should be sent as the curl is valid.

Screenshots
Added above

Desktop (please complete the following information):

  • OS: MacOS Catalina
  • Browser: Chrome
  • Version: 80.0.3987.149
@liyasthomas
Copy link
Member

@aashutoshrathi Can you please share the masked cURL to reproduce the bug at our side.

@aashutoshrathi
Copy link
Author

Sure.

curl -X GET "http://localhost:4242/people/search?type=HUMAN&queryString=a" 
-H "accept: application/json" 
-H "access-token: some-access-token" 
-H "firm: someFirm" -H "user: admin"

Also, @liyasthomas I tried on Chrome as well as PWA.

@liyasthomas
Copy link
Member

Make sure you've installed Browser Extension to access localhost endpoints.

@aashutoshrathi
Copy link
Author

Yeah. It worked.

@AndrewBastin
Copy link
Member

@liyasthomas even if this is a browser extension issue, the app shouldn't be doing that.

Definitely a bug.

@liyasthomas
Copy link
Member

@AndrewBastin yes, you're right. reopening issue to track it.

@liyasthomas liyasthomas reopened this Apr 3, 2020
@liyasthomas
Copy link
Member

@aashutoshrathi can you please explain in which instance/action you had the mentioned console errors as in the screenshot.

@aashutoshrathi
Copy link
Author

The cURL above was not working, but some other cURL worked later.
Also, the import isn't working properly for me, the URL doesn't change for some reason.

2020-04-04 11 24 49

@AndrewBastin AndrewBastin added the bug Something isn't working label May 7, 2020
@diego-vergara
Copy link

Hi, I get this error when I logged with Github, the request was correct, if I log out works fine.
PS: I'm not sure if is the same error.

image

@liyasthomas
Copy link
Member

liyasthomas commented May 10, 2020

@diego-vergara

Well, I can't reproduce the issue at my end. Possible reason for this issue may be a cached build in localstorage.

Try uninstalling service worker
Goto Developer Tools (F12) > (might need to click the double right chevron ») Application tab > Service Workers > Unregister and reload the page.

If the issue is still persisting, try clearing app data. Notice: This clears all local synced History, Collections and Environments.
Goto Developer Tools (F12) > Application tab > Clear storage sidebar > Clear site data and reload the page.

@liyasthomas
Copy link
Member

I've pushed a hotfix, please let me know if the issue still persist.

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

4 participants