TMTumblrSDK icon indicating copy to clipboard operation
TMTumblrSDK copied to clipboard

How to debug HTTP Status 404 error?

Open thinium opened this issue 8 years ago • 1 comments

Hi, I was using the example PhotoPostExample using OAuth on iOS. The user is successfully authenticated but I am not able to upload the test image. Here is the error message:

Error posting to Tumblr, Error Domain=TMTumblrSDKErrorDomain Code=1 "Request failed." UserInfo={TMTumblrSDKHTTPStatusCodeErrorKey=404, NSLocalizedDescription=Request failed.}

How can I find out the cause of this error? Thanks!

thinium avatar Feb 28 '17 16:02 thinium

@ukelady Do you fill in your blog name at photo's first paramter?

- (void)postPhoto {
    // TODO: Fill in your blog name
    
    [[TMAPIClient sharedInstance] photo:@""

Even if that, I have other error. #113

ykws avatar Jun 22 '17 14:06 ykws