thieman / github-selfies

Everything is better with selfies. Yes, even pull requests. Trust me.
MIT License
1.14k stars 76 forks source link

imgur upload fails #55

Closed ahmetb closed 8 years ago

ahmetb commented 9 years ago
{
"data": {
"error": "Authentication required",
"request": "/3/upload",
"method": "GET"
},
"success": false,
"status": 401
}
thieman commented 9 years ago

Seems to be working for me, can you give any more details? Browser version, does it happen all the time or only sometimes, does it only happen with one type of selfie (still or GIF)?

selfie-1

hhsnopek commented 8 years ago

this is what I'm receiving while attempting to take a photo

View:

Preserve log

Disable cache

Filter

Hide data URLs
All
XHR
JS
CSS
Img
Media
Font
Doc
WS
Other
0 ms200 ms400 ms600 ms800 ms1000 ms
Headers
Preview
Response
Cookies
Timing
{data: {error: "Image failed to upload.", request: "/3/upload", method: "POST"}, success: false,…}
data: {error: "Image failed to upload.", request: "/3/upload", method: "POST"}
error: "Image failed to upload."
method: "POST"
request: "/3/upload"
status: 400
success: false
33:1 Refused to load media from 'blob:https%3A//github.com/913c8b3f-4829-43c4-9925-427c2b375bc9' because it violates the following Content Security Policy directive: "media-src 'self'".

33:1 Refused to load media from 'blob:https%3A//github.com/a600dd4d-128e-42cd-8719-2ff32251ca94' because it violates the following Content Security Policy directive: "media-src 'self'".

api.imgur.com/3/upload:1 POST https://api.imgur.com/3/upload 400 (Bad Request)
thieman commented 8 years ago

Can you try again with 1.9.1?

hhsnopek commented 8 years ago

@thieman It works now!

thieman commented 8 years ago

Hooray!