• Resolved delaspuke

    (@delaspuke)


    Hello,

    I have connected the plugin to the Deepl Free API and want to translate texts from German to English. When I start the translation, I get the following message “The translation has failed. See logs for details”.

    The logs show this:

    Fichier 'errors' pour 02/2024
    
    
    a:6:{s:4:"date";s:19:"20/02/2024 13:09:53";s:2:"ID";i:3685;s:7:"success";b:0;s:6:"errors";a:2:{s:6:"errors";a:1:{s:31:"Parameter 'text' not specified.";a:1:{i:0;s:0:"";}}s:10:"error_data";a:0:{}}i:0;s:17:"Translation error";i:1;s:94:"{"success":false,"errors":{"errors":{"Parameter 'text' not specified.":[""]},"error_data":[]}}";}
    
    a:6:{s:4:"date";s:19:"20/02/2024 13:10:45";s:2:"ID";i:3685;s:7:"success";b:0;s:6:"errors";a:2:{s:6:"errors";a:1:{s:31:"Parameter 'text' not specified.";a:1:{i:0;s:0:"";}}s:10:"error_data";a:0:{}}i:0;s:17:"Translation error";i:1;s:94:"{"success":false,"errors":{"errors":{"Parameter 'text' not specified.":[""]},"error_data":[]}}";}
    
    a:6:{s:4:"date";s:19:"20/02/2024 13:11:15";s:2:"ID";i:3685;s:7:"success";b:0;s:6:"errors";a:2:{s:6:"errors";a:1:{s:31:"Parameter 'text' not specified.";a:1:{i:0;s:0:"";}}s:10:"error_data";a:0:{}}i:0;s:17:"Translation error";i:1;s:94:"{"success":false,"errors":{"errors":{"Parameter 'text' not specified.":[""]},"error_data":[]}}";}
    
    a:6:{s:4:"date";s:19:"20/02/2024 13:13:04";s:2:"ID";i:3685;s:7:"success";b:0;s:6:"errors";a:2:{s:6:"errors";a:1:{s:31:"Parameter 'text' not specified.";a:1:{i:0;s:0:"";}}s:10:"error_data";a:0:{}}i:0;s:17:"Translation error";i:1;s:94:"{"success":false,"errors":{"errors":{"Parameter 'text' not specified.":[""]},"error_data":[]}}";}
    
    a:6:{s:4:"date";s:19:"20/02/2024 13:14:41";s:2:"ID";i:3689;s:7:"success";b:0;s:6:"errors";a:2:{s:6:"errors";a:1:{s:31:"Parameter 'text' not specified.";a:1:{i:0;s:0:"";}}s:10:"error_data";a:0:{}}i:0;s:17:"Translation error";i:1;s:94:"{"success":false,"errors":{"errors":{"Parameter 'text' not specified.":[""]},"error_data":[]}}";}
    
    Fichier 'operation' pour 02/2024
    
    
    a:7:{s:4:"date";s:19:"20/02/2024 13:10:45";s:5:"class";s:17:"DeepLApiTranslate";s:6:"uniqid";b:0;s:4:"type";s:5:"fresh";s:4:"mode";s:4:"POST";s:14:"response_error";i:400;s:8:"response";a:2:{s:4:"code";i:400;s:7:"message";s:11:"Bad Request";}}
    
    a:7:{s:4:"date";s:19:"20/02/2024 13:11:15";s:5:"class";s:17:"DeepLApiTranslate";s:6:"uniqid";b:0;s:4:"type";s:5:"fresh";s:4:"mode";s:4:"POST";s:14:"response_error";i:400;s:8:"response";a:2:{s:4:"code";i:400;s:7:"message";s:11:"Bad Request";}}
    
    a:10:{s:4:"date";s:19:"20/02/2024 13:12:09";s:5:"class";s:13:"DeepLApiUsage";s:6:"uniqid";b:0;s:4:"type";s:5:"fresh";s:4:"mode";s:3:"GET";s:17:"request_microtime";d:0.1628420352935791;s:4:"args";a:0:{}s:8:"response";a:2:{s:15:"character_count";i:0;s:15:"character_limit";i:500000;}s:15:"response_length";i:46;s:12:"why_no_cache";s:17:"Cache not allowed";}
    
    a:7:{s:4:"date";s:19:"20/02/2024 13:13:04";s:5:"class";s:17:"DeepLApiTranslate";s:6:"uniqid";b:0;s:4:"type";s:5:"fresh";s:4:"mode";s:4:"POST";s:14:"response_error";i:400;s:8:"response";a:2:{s:4:"code";i:400;s:7:"message";s:11:"Bad Request";}}
    
    a:7:{s:4:"date";s:19:"20/02/2024 13:14:41";s:5:"class";s:17:"DeepLApiTranslate";s:6:"uniqid";b:0;s:4:"type";s:5:"fresh";s:4:"mode";s:4:"POST";s:14:"response_error";i:400;s:8:"response";a:2:{s:4:"code";i:400;s:7:"message";s:11:"Bad Request";}}
    
    a:10:{s:4:"date";s:19:"20/02/2024 13:15:13";s:5:"class";s:13:"DeepLApiUsage";s:6:"uniqid";b:0;s:4:"type";s:5:"fresh";s:4:"mode";s:3:"GET";s:17:"request_microtime";d:0.21199488639831543;s:4:"args";a:0:{}s:8:"response";a:2:{s:15:"character_count";i:0;s:15:"character_limit";i:500000;}s:15:"response_length";i:46;s:12:"why_no_cache";s:17:"Cache not allowed";}
    

    What could be the problem here?

    Greetings, Johannes

  • The topic ‘The translation has failed’ is closed to new replies.