Does anyone know what this mean? `{"error":"Functi...
# prisma-whats-new
t
Does anyone know what this mean?
{"error":"Function returned invalid status code: 0. Raw body: empty.last"}
a
That's an error that seems related to deploying functions from a Windows environment.
t
I’m on a mac tho @agartha
I’m also running
invoke-local
a
Hmmm...
t
and I get insufficient permissions
but I’m passing by bearer token
it was working like 2 hours ago, all I did was deploy again with a minor update and now it is broken
so I revert the update
so how it was before but still like this
a
Could you add to https://github.com/graphcool/framework/issues/1031? Because I was under the assumption that this was Windows-related...
😢 1
t
Okay thanks @agartha
👍🏻 1
Do you have any reason for this breakage?
a
No
t
NOOOOO X_X
a
I have the same issue on Windows 10. But they're looking into it I guess...
t
did you try invoking the function by doing
gc invoke-local
?
that one doesn’t throw me this
invalid status code
error
a
No, I did a local deployment which worked fine
t
yeah my deployment also worked
what I mean is that invoke-local triggers my function, but the error I get in there is different
a
Like I said, please add your experiences to the issue I mentioned. Especially since you're not on Windows.
t
my query doesn’t work it just says “Insufficient permissions”
yeah will do
a
The 'empty.last' error is a deployment error
t
ah!
got it
a
The insufficient permissions error is probably due to your project permission configuration
t
i didnt touch that at all tho
and all my functions were working 2 hours ago
before deploying again with a minor update which I reverted back to how it was before
Invoke-local works, I had misplaced the bearer token in the invoke json file