Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: invalid character '<' looking for beginning of value #19

Open
adishap opened this issue Sep 28, 2016 · 8 comments
Open

Error: invalid character '<' looking for beginning of value #19

adishap opened this issue Sep 28, 2016 · 8 comments
Labels

Comments

@adishap
Copy link
Contributor

adishap commented Sep 28, 2016

AW throwed an error 2016/09/26 22:54:20 cache.update: projects: Unmarshal: invalid character '<' looking for beginning of value and terminated.

@manishrjain manishrjain added the bug label Oct 1, 2016
@manishrjain
Copy link
Owner

Any ideas about how to reproduce this?

@adishap
Copy link
Contributor Author

adishap commented Oct 1, 2016

No, even I tried to reproduce it but was not successful.

@adishap
Copy link
Contributor Author

adishap commented Oct 3, 2016

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.

@manishrjain
Copy link
Owner

What's the version of AW that you're running?

@adishap
Copy link
Contributor Author

adishap commented Oct 7, 2016

I cloned AW's github repo and but the latest commit matches the version 1.0.

@adishap
Copy link
Contributor Author

adishap commented Oct 18, 2016

@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 api-support@asana.com 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

@adishap
Copy link
Contributor Author

adishap commented Nov 7, 2016

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.

@adishap
Copy link
Contributor Author

adishap commented Nov 20, 2016

@manishrjain I think I can also close this issue. It is also fixed.

Repository owner deleted a comment from pavana21 Feb 23, 2024
Repository owner deleted a comment from yexuanyang Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants