tfiwm
01/31/2018, 8:18 PMtfiwm
01/31/2018, 8:21 PMMr.niko.la
01/31/2018, 9:11 PMtfiwm
01/31/2018, 9:20 PMtfiwm
01/31/2018, 10:14 PMaazlant
01/31/2018, 11:04 PMKimiiz
01/31/2018, 11:21 PMlastmjs
02/01/2018, 12:52 AMERROR: GraphQL Error (Code: 504)
{
"error": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<HTML><HEAD><META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\n<TITLE>ERROR: The request could not be satisfied</TITLE>\n</HEAD><BODY>\n<H1>ERROR</H1>\n<H2>The request could not be satisfied.</H2>\n<HR noshade size=\"1px\">\nCloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.\n<BR clear=\"all\">\n<HR noshade size=\"1px\">\n<PRE>\nGenerated by cloudfront (CloudFront)\nRequest ID: qq3K3BKJUuR3Og2401PwZJ2F3yIDthERKJ2xuMgA0eTMsXHYMj2gBw==\n</PRE>\n<ADDRESS>\n</ADDRESS>\n</BODY></HTML>",
"status": 504
}
Nick Luger
02/01/2018, 7:25 AMqsys
02/01/2018, 9:05 AMexport default async event => {
...
throw new Error('some message')
...
} catch (err) {
console.log(err)
return { error: 'An unexpected error occured' }
}
}
However, when I check the logs, I never get the log message in my logs. I always get the same message:
`{"error":"The resolver function authorize
is not nullable, but the function returned null."}`
which is not what I expect to see. What am I missing?user
02/01/2018, 10:06 AMhttps://prisma.slack.com/files/U907SGGE4/F930QUN87/screen_shot_2561-02-01_at_06.20.45.png▾
Mr.niko.la
02/01/2018, 10:41 AMMr.niko.la
02/01/2018, 10:41 AMterion
02/01/2018, 11:19 AMfvieira
02/01/2018, 11:37 AMidkjsx
02/01/2018, 11:51 AMgraphql get-schema
on a prisma deployed service. i dont understand this console error ✖ Project name must be specified for multiproject config. Valid project names: database
. Anyone now what the syntax is for this command? Or what name its looking for?idkjsx
02/01/2018, 11:51 AMkyriakosmichael
02/01/2018, 12:08 PMidkjsx
02/01/2018, 12:14 PMidkjsx
02/01/2018, 12:21 PMgraphql get-schema --endpoint dev --project project-name -o schema.graphql
...got this by trying flags from the help output. I guess we arent hitting urls directly anymore. leaving this here in case anyone else searches graphql get-schema
here in slack. make sure you have a .graphqlconfig
file in your project.rohanray
02/01/2018, 12:25 PMrohanray
02/01/2018, 12:27 PMlewisblackwood
02/01/2018, 1:59 PMlewisblackwood
02/01/2018, 2:00 PMlawrence
02/01/2018, 3:23 PMprisma.yml
? Like in serverless? E.g:
custom:
secrets: ${file(secrets.yml):${self:stage}}
jbonigomes
02/01/2018, 3:35 PMqsys
02/01/2018, 4:25 PMjohannpinson
02/01/2018, 4:29 PMnilan
02/01/2018, 4:31 PMqsys
02/01/2018, 4:53 PM