S
S
softwarepoint2016-08-02 00:33:44
Classmates
softwarepoint, 2016-08-02 00:33:44

Why does photosV2.commit throw one.image.server.upload.ContentUploadServerException: NO_IMAGE error?

hello. please help me figure out how to properly upload a photo to a user, so that I can post it later. what i do:
1. first call www.odnoklassniki.ru/oauth/authorize, get code
2. then call https://api.ok.ru/oauth/token.do, get access_token
3. call photosV2.getUploadUrl, get url for uploading a photo
4. doing a POST to the received url, in response I get the photo_id and token of the uploaded photo
5. I try to call photosV2.commit to complete the upload and get the following error:
{"error_msg":"one.image.server.upload. ContentUploadServerException: NO_IMAGE","error_code":"505","error_data":"NO_IMAGE"}
what does this error mean,

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew K, 2016-11-15
@1px

Got the same error yesterday. If you figured it out, tell me what's wrong.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question