Help Center/ Object Storage Migration Service/ FAQs/ Exception Recovery/ What Do I Do If the Migration Object in a Synchronization Task Contains a URL-encoded Name?
Updated on 2026-07-06 GMT+08:00

What Do I Do If the Migration Object in a Synchronization Task Contains a URL-encoded Name?

This section describes how to troubleshoot if the migration object contains a URL-encoded name and GET_SRC_OBJ_META_FAILURE is shown.

Figure 1 Migration failed
  1. Log in to the FunctionGraph console, and choose Functions > Function List in the navigation pane.
  2. Locate the function created in the source configuration synchronization request and click the function name to go to the function code page.
  3. Choose Code > index.py to access the code editing box.
  4. Search for the following command on the index.py page:

    object_key_list = [urllib.parse.unquote_plus(i[evt_type]["object"]["key"]) for i in evts]

    Change the content to the following:

    object_key_list = [urllib.parse.quote_plus(i[evt_type]["object"]["key"], encoding='utf-8') for i in evts]

  5. Deploy the code and run the synchronization task again, as shown in the following figure.

    Figure 2 Modified code