mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #575] Get correct response data but occurs with error "Cannot read property 'value' of undefined" #209
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ishowman on GitHub (Feb 16, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/575
Describe the bug
After send the request, and get the error info "Cannot read property 'value' of undefined", while the request shows that it get data success when I check the api in devtool Network
To Reproduce
Steps to reproduce the behavior:
Method: Get, Url: 'https://dxhdyy.ga.sz.gov.cn', Path: '/2019ncov/js/home.js?v=202002132300'Expected behavior
Response show the data of data field
Desktop (please complete the following information):
Additional context
It's happend today, while it's absolute normal yesterday
@liyasthomas commented on GitHub (Feb 16, 2020):
Can you give the sharable link of your request setup?
Does this setup meets your mentioned setup? https://postwoman.io/?method=GET&url=https://dxhdyy.ga.sz.gov.cn&path=/2019ncov/js/home.js?v=202002132300¶ms=%5B%7B%22key%22:%22v%22,%22value%22:%22202002132300%22%7D%5D
Turn on Proxy mode to fix
CORSissues.@yterletskyi commented on GitHub (May 27, 2020):
I'm experiencing the same issue, however CORS is working correctly.
For example see the request to a public api:
https://postwoman.io/?method=GET&url=https%3A%2F%2Fworldtimeapi.org
(https://worldtimeapi.org/api/timezone)
Could you please help?
@liyasthomas commented on GitHub (May 27, 2020):
@yterletskyi endpoint:
https://worldtimeapi.org/api/timezoneseems to be working fine at my end.Open in an incognito tab and test: https://postwoman.io/?method=GET&url=https://worldtimeapi.org&path=/api/timezone
@yterletskyi commented on GitHub (May 27, 2020):
@liyasthomas works good in an incognito tab.
Do you think some configurations on browser fail it?
@liyasthomas commented on GitHub (May 27, 2020):
@yterletskyi no, browser configs may not be an issue. Confirm it is working by clearing the cache and testing on regular tab. Let me know if the issue persists.
@yterletskyi commented on GitHub (May 27, 2020):
Worked by your recipe. I'm not sure what caused it, if you need more details from my end let me know thanks.