asanawarrior
asanawarrior copied to clipboard
Error: invalid character '<' looking for beginning of value
AW throwed an error 2016/09/26 22:54:20 cache.update: projects: Unmarshal: invalid character '<' looking for beginning of value and terminated.
Any ideas about how to reproduce this?
No, even I tried to reproduce it but was not successful.
I got the error similar to the above one
Starting sync at 2016-09-28 14:16:32.331007892 +0000 UTC
2016/09/28 14:16:57 getTasks for project: Development: Unmarshal: invalid character 'B' looking for beginning of value
@manishrjain Can you increase logs, it will be easier to debug.
What's the version of AW that you're running?
I cloned AW's github repo and but the latest commit matches the version 1.0.
@manishrjain Thanks for increasing logs. I again got this error.(Attached the error log)
Starting sync at 2016-10-15 01:01:06.986319836 +0000 UTC
2016/10/15 01:02:23 invalid character 'S' after top-level value
Unmarshal: "{\"errors\":[{\"message\":\"Oops! An unexpected error occurred while processing this request. The input may have contained something the server did not know how to handle. For more help, please contact [email protected] and include the error phrase from this response.\",\"phrase\":\"10 young bobcats jostle slowly\"}]}SERIOUS: Exception reached the event loop. Don't just fix the immediate cause, fix the reason it wasn't caught too please!\n"
github.com/manishrjain/asanawarrior/asana.runGetter
/home/ubuntu/work/src/github.com/manishrjain/asanawarrior/asana/asana.go:59
github.com/manishrjain/asanawarrior/asana.getTasks
/home/ubuntu/work/src/github.com/manishrjain/asanawarrior/asana/asana.go:146
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:2086
getTasks for project: Technical
github.com/manishrjain/asanawarrior/asana.getTasks
/home/ubuntu/work/src/github.com/manishrjain/asanawarrior/asana/asana.go:147
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:2086
Error in asana warrior
2016/11/05 07:36:51 invalid character 'B' looking for beginning of value
Unmarshal: "Backend exited unexpectedly"
github.com/manishrjain/asanawarrior/asana.runGetter
/home/ubuntu/work/src/github.com/manishrjain/asanawarrior/asana/asana.go:59
github.com/manishrjain/asanawarrior/asana.getTasks
/home/ubuntu/work/src/github.com/manishrjain/asanawarrior/asana/asana.go:146
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:2086
getTasks for project: Github
github.com/manishrjain/asanawarrior/asana.getTasks
/home/ubuntu/work/src/github.com/manishrjain/asanawarrior/asana/asana.go:147
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:2086
Created a PR So AW will not stop execution when asana api throws error when tasks are being fetched.
@manishrjain I think I can also close this issue. It is also fixed.