All Products
Document Center

Mobile Platform as a Service:MGS FAQs

Last Updated:May 25, 2023

How to troubleshoot in case of a call failure?

See Gateway exception troubleshooting.

What are the meanings of the result codes returned by APIs?

See Gateway result codes.

When OkHttp is referrenced, how to deal with the conflict between OKio and mPaaS?

To solve the conflict, perform the following steps:

  1. Comment out the wire component of mPaaS.

  2. Use the wire component provided on the Internet.

    implementation  'com.squareup.wire:wire-lite-runtime:'

How to put parameters in POST body when sending a POST request by calling the MGS RPC interface through JSAPI?

First, you must correctly configure the POST body and corresponding data model for MGS. When sending a request through JSAPI, you need to take the POST body as the value of _requestBody and put it in the requestData parameter, as shown in the following sample:

window.onload = function() {
     ready(function() {'rpc', {
         operationType: 'MYAPI',
         requestData: [
         getResponse: true
       }, function(data) {