how to get admin key? and upload error

0 votes

hello.

i try cocos2dx 3.0 upload file error is diplay 

Curl curl_easy_getinfo failed: No error

code=400

Response Body={"app42Fault":{"httpErrorCode":400,"appErrorCode":1400,"message":"Bad Request","details":"The Request parameters are invalid"}}

errordetails :The Request parameters are invalid

errorMessage :Bad Request

appErrorCode :1400

httpErrorCode:400

 

 

and how to get admin key? by keymanagement?

thanks.

 

 

asked Sep 17, 2014 in App42 Cloud API-BaaS by brown (10 points)

1 Answer

0 votes

Hello Brown,

Could you please share the logs details with us it will help us to resolve your issue. Please put the below line before calling UploadService function in your code:

App42API::setIsTraceEnabled(true);

Also, you can find your app admin key by clicking Application keys in your App Manager of AppHQ Management Console.

Thanks,

Himanshu Sharma

 

 

answered Sep 17, 2014 by hs00105 (2,005 points)
i solved by
 UploadService::Initialize(..
before use it.

some different document and sample 1.7 ver.
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
...