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
- Log in to the FunctionGraph console, and choose Functions > Function List in the navigation pane.
- Locate the function created in the source configuration synchronization request and click the function name to go to the function code page.
- Choose Code > index.py to access the code editing box.
- 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]
- Deploy the code and run the synchronization task again, as shown in the following figure. Figure 2 Modified code
Parent topic: Exception Recovery
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot