Hey,
I’m trying to automate our upload process to the Samsung Galaxy Store using the new developer APIs.
I am:
- generating a JWT
- use JWT to get auth token from
/auth/accessToken - getting existing app data with
/seller/contentInfofor our app - generating an upload session with
/seller/createUploadSessionId - uploading the binary with
/seller/fileUpload - editing step 3’s data:
a. nulling outaddLanguage,screenshotsandsellCountryList
b. removingstartPublicationDateandstopPublicationDate
c. ensuringpublicationTypeis01
d. update thefilekey(from step 5),fileName,versionCode,versionNamefields in binary object in the binaryList. fileName, versionCode and versionName are all unique from previously uploaded versions & binaries. - posting the edited app data to
/seller/contentUpdate - attempt to commit app update using
/seller/contentSubmit
However, step 7 gives undocumented error:
{"code":"SERVER_NETWORK_ERROR","message":"Error in calling 'seller' server","from":"asgw"}
But does seem to create the update and assign the binary correctly.
Step 8 then fails saying there is no content.
{"from":"seller","body":{"ctntId":"${contentId}","contentStatus":null,"httpStatus":"BAD_REQUEST","errorCode":"4104","errorMsg":"No content"}}
After my script hits these errors, I am able to log on and manually submit the update. I’ve tried adding a retry and adding a delay between calling these endpoints, but no luck.
Am I doing something wrong? Does anyone have any insight into the SERVER_NETWORK_ERROR ?
Thanks