Graphcool / graphcool-framework

Apache License 2.0
1.77k stars 131 forks source link

Error Graphcool-lib "unable to resolve jtn to webtask token" #523

Closed renatohtano closed 6 years ago

renatohtano commented 6 years ago

I'm using the graphcool-lib to generate auth token. But the function started return the following error: " unable to resolve jtn to webtask token"

This is the full message error:

{ "error": "Function returned invalid status code: 404. Raw body: {\"code\":404,\"message\":\"unable to resolve jtn to webtask token\",\"req_id\":\"1526395259067.835542\"}" }

marktani commented 6 years ago

Thanks a lot for bringing this up!

If you're encountering this, please remove your function and create it again. Thanks! 🙏

mbiqbal commented 6 years ago

I was able to make it work by just updating the old functions without any change. I did not create the new ones.

tsdexter commented 6 years ago

simple redeploy didn't work for me, I had to comment it out of graphcool.yml, deploy, add back, deploy.

developer239 commented 6 years ago

Removing and creating new functions worked.