Resolving HTTP 502 Error During Leaderboard API Calls

Log Information

2020-10-22 11:14:17.831 27218-3850/com.huawei.gameassistant W/HwGameAssistant- reponse fail code:502, msg:Bad Gateway
2020-10-22 11:14:17.831 27218-3850/com.huawei.gameassistant E/HwGameAssistant- getHttpStatusCode is : 502



  • The app ID and the package name belong to the same game.
  • Your game has its leaderboard data created in AppGallery Connect.
  • Your test account has been added in AppGallery Connect.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Drupal 7 multilingual multi-site in a sub-path

Resources For Learning Python

I am Building A Config File For Linux…

Net/HTTP: A Brief Introduction

Flatiron Final Project: Fighter-Select 2.0

Polkadot — What Is Crust

More Front End Developer Newbie Mistakes

Byte Stream With UTF-8 Encoding

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

How to check if an Android app is installed on your device

First roadblock in moving from Retrofit to Ktor

Intermediate: Know Your Doctor using Huawei Kits (Account, Crash and Analytics) in Android App.

How to turn your Android into Landscape mode on FlipSetter’s whiteboard