Upload photo not success

0 votes

Property multiPartRequest not found on com.shephertz.app42.paas.sdk.as3.connection.RESTConnector and there is no default value.

at com.shephertz.app42.paas.sdk.as3.gallery::PhotoService/addPhoto()[E:\Samita_work\gitProject_API\App42_Flash_API_Desktop\App42_ActionScript_API\src\com\shephertz\app42\paas\sdk\as3\gallery\PhotoService.as:87]

 

I upload photo to album, not success

http://api.shephertz.com/app42-docs/photo-gallery-service/?sdk=flash#add-photo

asked Jan 6, 2015 in App42 Cloud API-BaaS by Trần Duy Tân (10 points)

1 Answer

0 votes

Hello Tran,

Could you please share the method logs with us? It will help us to provide better support to you. To print the method logs put the below line of codes before making a add photo request:

App42Log.setDebug(true);

Also we have a sample project for your reference which you can download from here & let us know if it helps.

Himanshu Sharma

answered Jan 6, 2015 by hs00105 (2,005 points)
filepath:    /Users/bizzon/Documents/demo/city.png
Signature : bpKqFb0nr0AnQoYG%2FLpkh4sH5OY%3D
Http url : 1.0/gallery/duytan
ReferenceError: Error #1069: Property multiPartRequest not found on com.shephertz.app42.paas.sdk.as3.connection.RESTConnector and there is no default value.
    at com.shephertz.app42.paas.sdk.as3.gallery::PhotoService/addPhoto()[E:\Samita_work\gitProject_API\App42_Flash_API_Desktop\App42_ActionScript_API\src\com\shephertz\app42\paas\sdk\as3\gallery\PhotoService.as:87]
Could you please remove the App42_ActionScript_SDK_2.6.swc file from lib folder & re-run your code & let us know what is the exception message you are getting.
Thanks,
Himanshu Sharma
Thanks for your helping. I just do it.
Let me know if you are getting any exception.
Thanks,
Himanshu Sharma
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...