witek
09/05/2017, 10:55 AMdevoid
09/05/2017, 10:57 AMamandoabreu
09/05/2017, 11:59 AMechyzen
09/05/2017, 2:24 PMgraphql`
fragment Link_link on Link {
id
description
url
}
`
echyzen
09/05/2017, 2:24 PMechyzen
09/05/2017, 2:25 PMPieter
09/05/2017, 3:16 PMFetch API cannot load <https://d0b5iw4041.execute-api.eu-west-1.amazonaws.com/prod/create/>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<https://console.graph.cool>' is therefore not allowed access. The response had HTTP status code 502. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Pieter
09/05/2017, 3:17 PMPieter
09/05/2017, 3:17 PMPieter
09/05/2017, 3:20 PMPieter
09/05/2017, 3:20 PMvalein
09/05/2017, 3:31 PMquery ($user_id: ID!, $node_id: ID!) {
SomeCompanyExists(
filter: {
id: $node_id,
owner: {
id: $user_id
}
}
)
}
antho1404
09/05/2017, 4:39 PMantho1404
09/05/2017, 4:39 PMantho1404
09/05/2017, 4:40 PMsorenbs
antho1404
09/05/2017, 5:20 PMdevoid
09/05/2017, 7:25 PMamandoabreu
09/05/2017, 7:28 PMscolab.andre
09/05/2017, 8:24 PMcorey
09/05/2017, 8:33 PMcorey
09/05/2017, 8:33 PMscolab.andre
09/05/2017, 8:33 PMsergiog90
09/05/2017, 8:59 PMquery {
allPosts {
text
user {
name
}
}
}
Thanks for your time!!jrhicks
09/05/2017, 9:01 PMameistad
09/05/2017, 9:48 PMdardub
09/05/2017, 10:14 PMYou are referencing a node that does not exist. Please check your mutation to make sure you are only creating edges between existing nodes.
I copied my query into the playground and it works as expected. But in apollo I get the error. And the error does not provide any info as to what node it's referencing. Most of my fields are required so I can't go through and start removing fields to find the problematic one (if there is one).dardub
09/05/2017, 10:15 PMdardub
09/05/2017, 10:23 PMalburdette619
09/05/2017, 11:43 PM