All Products
Search
Document Center

Simple Log Service:Error pemuatan resource

Last Updated:Mar 14, 2026

Topik ini menjelaskan penyebab error pemuatan resource dalam aturan transformasi data serta menyediakan metode troubleshooting dan resolusi.

Mekanisme penanganan error

Untuk informasi lebih lanjut mengenai mekanisme penanganan error terkait pemuatan resource, lihat res_log_logstore_pull, res_rds_mysql, dan res_oss_file.

Troubleshooting umum

Penggunaan fungsi resource saja dapat menyebabkan error pemuatan resource.

  • Contoh aturan transformasi

    • res_log_logstore_pull(endpoint="cn-shenzhen.log.aliyuncs.com",ak_id="xxx",
              ak_secret="xxx",project="etl-test-shenzhen",
              fields=["__source__"]),field="processid",output_fields=["xx"]
    • res_rds_mysql(address="xx",username="xx",password="xx",database="xx")
    • res_oss_file(endpoint='xx',ak_id="xx",ak_key="xx",bucket='xx', file='xx',format='xx',change_detect_interval=0)
  • Log error

    aliyun.log.logexception.LogException: {"errorCode": "InvalidEtlConfig", "errorMessage": "ETL config doesn't pass security check, detail: invalid type detected: <class '_ast.Expr'>", "requestId": ""}
  • Metode troubleshooting

    Log error di atas menunjukkan adanya kesalahan sintaksis dalam konfigurasi transformasi. Hal ini terjadi ketika Anda hanya menggunakan fungsi res_log_logstore_pull, res_rds_mysql, atau res_oss_file. Fungsi resource tidak dapat digunakan secara mandiri.

  • Solusi

    Anda dapat menggunakan fungsi e_table_map bersama dengan fungsi resource. Untuk informasi lebih lanjut, lihat Resource functions.

Referensi