No fileType when uploading an apk
backmeupplz opened this issue ยท 10 comments
Receiving this error:
{"ret"=>{"code"=>203489281, "msg"=>"[AppGalleryConnectPublishService]updateAppFileInfo.arg3.fileType: must not be null"}}
Kinda weird because fileType is set to 5 in the request ๐ค
It's happening on the Saving app information
step
https://github.com/arnekaiser/fastlane-plugin-huawei_appgallery works though, so I use it to upload an apk and then fastlane-plugin-huawei_appgallery_connect
to submit it for review :)
Update: addressed a bug in this action with #16.
Hi we are facing the same issue
v1.0.11 released
Still occurring in v1.0.12
ERROR [2020-10-12 14:05:43.55]: {"ret"=>{"code"=>203489281, "msg"=>"[AppGalleryConnectPublishService]updateAppFileInfo.arg3.fileType: must not be null"}}
Partial Log:
Fetching fastlane-plugin-huawei_appgallery_connect 1.0.12
Installing fastlane-plugin-huawei_appgallery_connect 1.0.12
Bundle complete! 3 Gemfile dependencies, 99 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
$ bundle exec fastlane android huawei --verbose
DEBUG [2020-10-12 14:05:35.98]: Checking if there are any plugins that should be loaded...
DEBUG [2020-10-12 14:05:35.98]: Loading 'fastlane-plugin-huawei_appgallery_connect' plugin
INFO [2020-10-12 14:05:35.98]: gem 'fastlane-plugin-huawei_appgallery_connect' is already installed
+-------------------------------------------+---------+---------------------------------------------+
| Used plugins |
+-------------------------------------------+---------+---------------------------------------------+
| Plugin | Version | Action |
+-------------------------------------------+---------+---------------------------------------------+
| fastlane-plugin-huawei_appgallery_connect | 1.0.12 | huawei_appgallery_connect_submit_for_review |
| | | huawei_appgallery_connect |
| | | huawei_appgallery_connect_get_app_info |
+-------------------------------------------+---------+---------------------------------------------+
Successfully loaded Appfile at path '/builds/telldus/live-app-v3/fastlane/Appfile'
- json_key_file: 'play_key.json'
- package_name: 'com.telldus.live.mobile'
- app_identifier: 'com.telldus.live.mobile'
- apple_id: 'ios-dev@telldus.se'
- team_id: 'M2879GJ5VD'
-------
INFO [2020-10-12 14:05:35.99]: Sending anonymous analytics information
INFO [2020-10-12 14:05:35.99]: Learn more at https://docs.fastlane.tools/#metrics
INFO [2020-10-12 14:05:35.99]: No personal or sensitive data is sent.
INFO [2020-10-12 14:05:35.99]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
INFO [2020-10-12 14:05:36.00]: ----------------------------------------
INFO [2020-10-12 14:05:36.00]: --- Step: Verifying fastlane version ---
INFO [2020-10-12 14:05:36.00]: ----------------------------------------
INFO [2020-10-12 14:05:36.00]: Your fastlane version 2.162.0 matches the minimum requirement of 2.160.0 โ
INFO [2020-10-12 14:05:36.00]: ------------------------------
INFO [2020-10-12 14:05:36.00]: --- Step: default_platform ---
INFO [2020-10-12 14:05:36.00]: ------------------------------
INFO [2020-10-12 14:05:36.00]: Driving the lane 'android huawei' ๐
INFO [2020-10-12 14:05:36.00]: ---------------------------------------
INFO [2020-10-12 14:05:36.00]: --- Step: huawei_appgallery_connect ---
INFO [2020-10-12 14:05:36.00]: ---------------------------------------
WARN [2020-10-12 14:05:36.00]: Fetching app access token
INFO [2020-10-12 14:05:36.87]: Fetching upload URL
WARN [2020-10-12 14:05:38.02]: Uploading app
INFO [2020-10-12 14:05:42.94]: Upload app to AppGallery Connect successful
WARN [2020-10-12 14:05:42.94]: Saving app information
WARN [2020-10-12 14:05:43.55]: Lane Context:
INFO [2020-10-12 14:05:43.55]: {:DEFAULT_PLATFORM=>:android, :PLATFORM_NAME=>:android, :LANE_NAME=>"android huawei"}
ERROR [2020-10-12 14:05:43.55]: {"ret"=>{"code"=>203489281, "msg"=>"[AppGalleryConnectPublishService]updateAppFileInfo.arg3.fileType: must not be null"}}
INFO [2020-10-12 14:05:43.55]: Successfully generated documentation at path '/builds/telldus/live-app-v3/fastlane/README.md'
+------+----------------------------+-------------+
| fastlane summary |
+------+----------------------------+-------------+
| Step | Action | Time (in s) |
+------+----------------------------+-------------+
| 1 | Verifying fastlane version | 0 |
| 2 | default_platform | 0 |
| ๐ฅ | huawei_appgallery_connect | 7 |
+------+----------------------------+-------------+
Yes, I have just checked and still occurring with latest version (1.0.12)
Ok will sort this out tomorrow.
Thanks!
I'm puzzled as the error is because fileType is missing but I can see that the code sends it with a value of 5.
Issue resolved on v1.0.13 @leo-pedidosya @rimzici
I confirm too! Thanks @shr3jn !