smart-mobile-software / ocrapiservice

Ocr Api Service official repository
http://ocrapiservice.com
63 stars 84 forks source link

iOS No File Provided error #9

Closed sphuff closed 9 years ago

sphuff commented 9 years ago

Hi,

I am following the example that you put up and attempting to send a simple UIImage file. Everything appears to work correctly, but when I print out the data I receive, I am getting a 400 error. It reads:

Data received: HTTP/1.1 400 Bad Request

No file provided

My code is: (with key being my API key) _ocrManager = [[OcrApiManager alloc] init]; _ocrManager.delegate = self; UIImage *img = [UIImage imageNamed:@"quicksale_receipt"]; [_ocrManager postImage:img withApiKey:@"key" andLanguageCode:@"en"];

Any ideas? I am encountering the same problem when I try it in the website.

Thanks,

interactivemartin commented 9 years ago

Yes, the api looks down!. Can you fix this please????

sachinrot commented 9 years ago

Same problem here with iOS. does anybody got any solution on this? Thanks Sachin

sachinrot commented 9 years ago

do anyone have idea about when there API will be up? Thanks Sachin

interactivemartin commented 9 years ago

Problem is general, whatever you use, not only in iOS.

Can someone from support say something?


Martín Lombana / CEO & Founder INTERACTIVEMARTIN — CREATIVE AGENCY

OFFICE : +34 946 759 137 | MOBILE: +34 633 63 02 35 WEB : INTERACTIVEMARTIN.COM http://www.interactivemartin.com/ FACEBOOK : FACEBOOK.COM/INTERACTIVEMARTIN http://facebook.com/interactivemartin TWITTER: TWITTER.COM/INTMARTIN http://twitter.com/intmartin

sachinrot commented 9 years ago

i was planning my commercial app based on there API but how can i be sure about how reliable it is if this is the case? im not sure if i should be asking this question here but what is the alternate API for same purpose if anyone has any idea? will help me a lot.. Thanks Sachin

interactivemartin commented 9 years ago

Us too. It's really bad if it is this way.

On Friday, July 10, 2015, sachinrot notifications@github.com wrote:

i was planning my commercial app based on there API but how can i be sure about how reliable it is if this is the case? im not sure if i should be asking this question here but what is the alternate API for same purpose if anyone has any idea? will help me a lot.. Thanks Sachin

— Reply to this email directly or view it on GitHub https://github.com/smart-mobile-software/ocrapiservice/issues/9#issuecomment-120530399 .


Martín Lombana / CEO & Founder INTERACTIVEMARTIN — CREATIVE AGENCY

OFFICE : +34 946 759 137 | MOBILE: +34 633 63 02 35 WEB : INTERACTIVEMARTIN.COM http://www.interactivemartin.com/ FACEBOOK : FACEBOOK.COM/INTERACTIVEMARTIN http://facebook.com/interactivemartin TWITTER: TWITTER.COM/INTMARTIN http://twitter.com/intmartin

poiuytrez commented 9 years ago

Hello guys, we are very sorry for the issue we had this weekend. Everything is now working properly. We have taken additional measure so it won't happen next time.

sachinrot commented 9 years ago

Thank you very much, this has resolved the problem and im able to test it now. Thanks Sachin

sachinrot commented 9 years ago

Hello There, Seems like its back again.1 hour of use and im back where i started, its giving me File not provided error again both on website and iOS code.Can you please check this again. Thanks Sachin

poiuytrez commented 9 years ago

It is back. The problem was deeper than we thought. Please contact me via the regular contact form to get a free small package as a compensation.