Android gives "[Error: Network error: Requested keys of a value that is not an object.]"
See original GitHub issueI’m trying a basic app with AppSync on Android phone and emulators and graphl query is not working properly while it works fine on iOs mobile.
The following error appears when executing it:
[Error: Network error: Requested keys of a value that is not an object.]
Can someone guide me on this error?
AllTakes: graphql(AllTakes, {
options: {
fetchPolicy: 'cache-and-network'
},
props: ({data}) => {
console.log(data)
return {
loading: data.loading,
takes: data.takes
}
}
})
const AllTakesResponse = compose(
AllTakes
)(Home);
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:10 (1 by maintainers)
Top Results From Across the Web
TypeError: Requested keys of a value that is not an object ...
I believe that if you get the fetch output right (as an object), the problem could be the way you wrote your ListView...
Read more >NetworkException | Android Developers
int, ERROR_HOSTNAME_NOT_RESOLVED, Error code indicating the host being sent the request could not be resolved to an IP address.
Read more >Requested keys of a value that is not an object. React-native ...
Coding example for the question TypeError: Requested keys of a value that is not an object. React-native-React Native.
Read more >Error() constructor - JavaScript - MDN Web Docs
When Error is used like a function, that is without new , it will return an Error object. Therefore, a mere call to...
Read more >Error and Warning Dictionary | Twilio
Explore the full list of all possible Twilio REST API error codes. ... ERROR. HTTP connection over Twilio Interconnect is not allowed.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@manueliglesias I think there’s still an issue here… I tried upgrading
aws-appsync
1.3.2 -> 1.3.4 and in my CRNA app I get an “Expo has stopped” error with no further debug info when running a mutation. Downgrading again and restarting the bundler fixes it. This is my repo if you want a look: https://github.com/vonkanehoffen/FoldReactNative2Aha. Downgrading to
"aws-appsync": "1.3.2",
seems to fix this for now 😃