was hoping to keep working on my new app in the mo...
# prisma-whats-new
t
was hoping to keep working on my new app in the morning, but I’m blocked by a rather cryptic error,
Function returned invalid status code: 0. Raw body: empty.last
that only occurs when I use an async function 😞 anyone ever heard of it? https://github.com/graphcool/graphcool/issues/1011
k
A bunch of people talking about that... are you on Windows and using the cli?
t
@Kat i’m on osx
using cli to deploy to hosted graphcool
k
Ah ok..I know there is an outstanding issue right now. Not really sure of what just yet.. you'll have to ask @nilan when he's on. I was getting the same issue..so I switched to local development with the cli.. and it works great 🙂
t
interesting.. is there a github issue about it?
k
I was going to make one last night but ended up forgetting. I'm sure your error will be replied to though
t
okay i’ll try to switch back to local dev
i had to switch to hosted because logs were broken and i couldn’t start over (#1008)
k
Local works great for me :0 And its obviously faster than deploying to their service
And oh that sucks.. I havent run into any log issues yet myself
t
can’t figure out how to delete the locally persisted volume
k
Wish I could help 😞
t
thanks anyway
j
I am seeing this issue too.
t
working locally
j
I upgraded my graphcool CLI and redeployed, then things started working better. I did change from a operationAfter to a resolver too.
n
so sorry about that @timwis we'll take a good look at this tomorrow 🙂
t
thanks i appreciate it
@jakethrog yeah i’m not 100% sure using an
operationAfter
function is the right thing for me… i’m trying to setup a twilio sub-account after a user registers on my site, so i can separate their twilio activity. hope i did the right thing
n
i'd use a subscription function instead
t
@nilan ah, is that so the request doesn’t have to wait until the twilio setup is finished to resolve? (async)
n
yes!