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

Unable to create Scrapbox page when selecting other than captured image #15

Closed
thinceller opened this issue Jan 24, 2020 · 3 comments · Fixed by #16
Closed

Unable to create Scrapbox page when selecting other than captured image #15

thinceller opened this issue Jan 24, 2020 · 3 comments · Fixed by #16

Comments

@thinceller
Copy link

The Scrapbox page is not created if I select something other than the captured image.

Is this API specification change affecting this?
https://gyazo.com/api/docs/image

0459592baf0065c0939f1245816b24ee

uploadGyazo.js:11 POST https://upload.gyazo.com/api/upload/easy_auth 500
_callee$ @ uploadGyazo.js:11
tryCatch @ runtime.js:64
invoke @ runtime.js:355
prototype.<computed> @ runtime.js:116
step @ main.js:9474
(anonymous) @ main.js:9474
(anonymous) @ main.js:9474
(anonymous) @ uploadGyazo.js:1
exports.default @ uploadGyazo.js:1
_callee$ @ main.js:32
tryCatch @ runtime.js:64
invoke @ runtime.js:355
prototype.<computed> @ runtime.js:116
step @ main.js:8
(anonymous) @ main.js:8
Promise.then (async)
step @ main.js:8
(anonymous) @ main.js:8
Promise.then (async)
step @ main.js:8
(anonymous) @ main.js:8
(anonymous) @ main.js:8
(anonymous) @ main.js:26
(anonymous) @ MessageListener.js:18
listen @ MessageListener.js:18


main.js:9474 Uncaught (in promise) SyntaxError: Unexpected end of JSON input
Promise.then (async)
step @ main.js:9474
(anonymous) @ main.js:9474
Promise.then (async)
step @ main.js:9474
(anonymous) @ main.js:9474
(anonymous) @ main.js:9474
(anonymous) @ uploadGyazo.js:1
exports.default @ uploadGyazo.js:1
_callee$ @ main.js:32
tryCatch @ runtime.js:64
invoke @ runtime.js:355
prototype.<computed> @ runtime.js:116
step @ main.js:8
(anonymous) @ main.js:8
Promise.then (async)
step @ main.js:8
(anonymous) @ main.js:8
Promise.then (async)
step @ main.js:8
(anonymous) @ main.js:8
(anonymous) @ main.js:8
(anonymous) @ main.js:26
(anonymous) @ MessageListener.js:18
listen @ MessageListener.js:18
@pastak
Copy link
Owner

pastak commented Jan 29, 2020

Thanks for your report. It is reason why image should be convert data url format. I'll fix soon 😄

pastak added a commit that referenced this issue Jan 29, 2020
@pastak
Copy link
Owner

pastak commented Jan 29, 2020

@thinceller I have fixed and release in v1.0.1

@thinceller
Copy link
Author

@pastak Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants