I have been using imgur API for almost a year and it was working pretty well until 2days ago.
Suddenly all my users from south korea can't upload any images.
I'm doing a simple POST request on
https://api.imgur.com/3/image
and got the following answer
data Object { error: "These actions are forbidden." }
error "These actions are forbidden."
success false
status 400
I have tried different size of image (< 1mb or > 1mb), format (jpg, png etc ...) and it's not working only for people with a Korean IP, I actually tried it with a VPN for having a Korean IP and it's not working. If I turn off the VPN and try to upload without refreshing the page it's working.
My code haven't change since few months so I don't know why it would stop working suddenly
Is there something wrong with Korea or a change in the policy ? I can't see any.
Related
I was about to use the teleport api to get some city pictures. Suddenly, I was having trouble getting the images. When I access the website, I get this.
Is it just me or is there something going on with teleport org?
Our app implements the Google Photos API to allow our user to select the images from their Google Photos album and then edit them.
However, in some cases, the image retrieved from Google Photos API (with URL as BASE_URL=d) is corrupted, i.e., part of the image content is grayed out.
We can't replicate the issue on our phone, so it is difficult to tell whether the image data is already corrupted in the Google Photos album, or the data becomes corrupted during the internet transmission.
We've also implement the jpg data check (SOI = 0xffd8 and EOI = 0xffd9) for the download image data. For a jpg source that is originally corrupt (i.e., SOI = 0xffd8 but EOI != 0xffd9) and then upload to Google Photos, the corrupt criterion can be correctly triggered for the download data via Google Photos API. But for the jpg images that the contents are partially grayed out as mentioned in this issue, the criterion is never triggered.
Before using Google Photos API, we've used Picasa API for about 2 years. And the corrupt image issue never happens. Does anyone have the same issue with Google Photos API?
I'm having a similar issue through the Google Photos web site and contacted support about it. They said this is a known issue that started Mar 20th and that engineers are working on it.
More detail about what I ran into: I uploaded a photo via Backup & Sync (their desktop sync tool), which puts them in Google Drive, and have it set to replicate all pictures over to Google Photos. The photo looks fine in Drive, but the version in Google Photos is corrupted with a large block of the photo being a solid color.
Recently, I wrote an app to synchronize photos in my Instagram to another platform. The GET /v1/users/self/media/recent?access_token=ACCESS_TOKEN result should contains the links to my pictures, like
https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s640x640/e35/sh0.08/11330602_751572388302808_972254350_n.jpg,
and it went very well. But today after clicking the link, it told me Invalid Request. I'm not sure what happened to this cdn link. Any hints would be appreciated.
The Bing Web Search API worked last week and at some point this week, it has been returning 403 errors. I don't know if anyone else has been encountering similar problems?
To replicate this, simply signup here with a bing account and you should get 5000 free queries per month. Below is a snippet of code (I believe I'm properly authenticated since putting in improper credentials fails gives a 401, rather than 403 error).
import requests
user = '...'
key = '...'
# 403 error
requests.get('https://api.datamarket.azure.com/Bing/Search/Web?Query=%27Xbox%27&$format=json', auth=(user, key))
# 401 error
requests.get('https://api.datamarket.azure.com/Bing/Search/Web?Query=%27Xbox%27&$format=json', auth=('a', 'b'))
Is anyone else getting this?
403 is the Forbidden status code. Your subscription probably expired or you exhausted your query limit.
Server errors are always in the 500-599 range. Errors in the 400-499 range are always client errors. If you repeatedly receive 500 errors, you should check Azure's status page to ensure there isn't a problem.
As a rule, you shouldn't assume that a major service like Bing Search is down and no-one noticed for days. It's far more likely that there is a problem with your account or your code, especially if you receive client error codes.
I've asked this question on the MSDN forums a week ago, but unfortunately I don't get a reply. This functionality is so basic that I can't imagine this can't be done.
http://social.msdn.microsoft.com/Forums/en-US/c6aaaefe-92e1-45b3-8b41-8edbc9866058/cannot-get-picture-of-contacts?forum=communicatorsdk
We are developing a Lync SupressedUI Client with the Lync Client SDK.
We want to show the photo of contacts of the logged in user.
When we turn off UISupression we do get a photo.
When we turn on UISupression we do not get a photo.
There are 3 ContactInformationTypes that could be relevant:
- ContactInformationType.Photo
- ContactInformationType.IconStream
- ContactInformationType.IconUrl
When using Photo it does work when UISupression is turned off.
But not when UISupression is turned on.
The exception that we get is: ItemNotFoundException
When using IconStream we get the exception: FileNotFound Exception.
The exception does not tell which file. This is part of the message: Exception from HRESULT: 0x80070002
When calling ContactInformationType.IconUri we are getting an ItemNotFoundException.
Showing the photo of the logged in user is not a problem at all.
Strange enough when contacts are in the frequently used contacts group we do get a photo.
Has anybody made it work to show photos of contactpersons when UISupression is turned on?
By accident we have a solution that does show the photos of the contacts.
it's needed to start a conversation for every contact in the contactlist.
after that the Photo can be obtained.