Deepl API key not reverting back to api-free.deepl.com

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 7 replies, 2 voices, and was last updated 1 year, 5 months ago by Szabi – CodeRevolution.

Viewing 7 reply threads
  • Author
    Posts
    • #8072


      woutr
      Participant
      Skilled
      Post count: 10

      Hey, back again.

      I’ve made some free accounts on DeepL to not pay that damn much haha. And i’ve ran into an error. When running now, the api is not sending it to api-free, but to api.deepl.com

      See the logs:

      [17-Jul-2023 11:57:08 Europe/Amsterdam] Running DeepL translation for 1725 characters: [19659001] El circuito Premier Padel …
      [17-Jul-2023 11:57:09 Europe/Amsterdam] Exception thrown in Translator Exception: Unrecognized text response from DeepL: https://api.deepl.com/v2/translate?text=%0A%0A%5B19659001%5D%0A%0AEl+circuito+Premier+Padel+no+se+detiene%2C+y+tras+una+semana+a+puro+p%C3%A1del+en+Roma%2C+se+traslada+a+Madrid+para+disputar+el+primer+torneo+de+categor%C3%ADa+P1+de+la+temporada.%0A%0A%5B19659002%5D%0A%0AEste+domingo+finalizoo+el+Premier+Padel+Italy+Major%2C+que+coron%C3%B3+a+Gemma+Triay+y+Marta+Ortega+como+las+primeras+campeonas+en+la+historia+del+circuito.+En+el+cuadro+masculino%2C+Arturo+Coello+y+Agust%C3%ADn+Tapia+levantaron+su+primer+t%C3%ADtulo+Premier+Padel%2C+continuando+su+racha+ganadora.%0A%0A%5B19659003%5D%0A%0APero+Premier+Padel+continuua+con+la+acci%C3%B3n%2C+e+inmediatamente+despu%C3%A9s+del+torneo+Romano%2C+desembarca+en+Espa%C3%B1a%2C+para+disputar+el+Madrid+P1.%0A%0A%5B19659004%5D%0A%0AEl+estadio+Madrid+Arena%2C+con+capacidad+para+12000+espectadores%2C+se+encuentra+listo+para+recibir+a+los+mejores+jugadores+del+planeta%2C+que+desde+hoy+lunes+17+de+julio+hasta+el+domingo+23+de+julio+competir%C3%A1n+por+el+t%C3%ADtulo+de+campeones.%0A%0A%5B19659005%5D%0A%0APor+segundo+torneo+consecutivo%2C+la+competici%C3%B3n+contar%C3%A1+con+cuadros+tanto+masculino+como+femenino%2C+por+lo+que+la+capital+espa%C3%B1ola+disfrutar%C3%A1+de+una+semana+abarrotada+de+p%C3%A1del.%0A%0A%5B19659006%5D%0A%0ADonde+ver+el+Madrid+P1%0A%0A%5B19659007%5D%0A%0AEste+lunes+comienza+la+competici%C3%B3n%2C+con+el+cuadro+principal+masculino%2C+y+todos+los+partidos+de+Premier+Padel+Madrid+P1+ser%C3%A1n+retransmitidos+a+trav%C3%A9s+de+diferentes+plataformas%3A+ESPN%2FStar%2B+%28Sudam%C3%A9rica%2C+Centroam%C3%A9rica%2C+M%C3%A9xico+y+el+Caribe%29%2C+YouTube+Premier+Padel+%28Espa%C3%B1a%29%2C+Sky+Sports+%28Italia%2C+Ciudad+del+Vaticano+y+San+Marino%29%2C+beIN+SPORTS+%28EE.UU.%2C+Canad%C3%A1%2C+Oriente+Medio%2C+Norte+de+%C3%81frica%2C+Sudeste+Asi%C3%A1tico%2C+Australia%2C+Nueva+Zelanda+y+Turqu%C3%ADa%29%2C+Viaplay+%28Suecia%2C+Dinamarca%2C+Noruega%2C+Finlandia%2C+Islandia%2C+Estonia%2C+Letonia+y+Lituania%29%2C+Cosmote+%28Grecia%29+y+SuperSport+%28%C3%81frica+subsahariana%29.%0A%0A%5B19659008%5D%0A%0A&source_lang=auto&target_lang=NL&auth_key=e845433b-635c-cab1-2fcf-7357c54d8c2a:fx&tag_handling=xml&preserve_formatting=1 — in /home3/padelready/public_html/wp-content/plugins/rss-feed-post-generator-echo/rss-feed-post-generator-echo.php:13607 Stack trace: #0 /home3/padelready/public_html/wp-content/plugins/rss-feed-post-generator-echo/rss-feed-post-generator-echo.php(12888): echo_translate(‘Comienza la acc…’, ‘\n\n[19659001]\n\nE…’, ‘auto’, ‘NL’, ‘1’) #1 /home3/padelready/public_html/wp-content/plugins/rss-feed-post-generator-echo/rss-feed-post-generator-echo.php(8540): echo_spin_and_translate(‘Comienza la acc…’, ‘\n\n[19659001]\n\nE…’, ‘NL-‘, ‘auto’, ‘disabled’, ‘0’, ‘1’) #2 /home3/padelready/public_html/wp-content/plugins/rss-feed-post-generator-echo/rss-feed-post-generator-echo.php(3304): echo_run_rule(‘0’, 0) #3 /home3/padelready/public_html/wp-includes/class-wp-hook.php(308): echo_run_my_action_callback(”) #4 /home3/padelready/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #5 /home3/padelready/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home3/padelready/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_echo_ru…’) #7 {main}
      [17-Jul-2023 11:57:09 Europe/Amsterdam] Translation Failed – returned false!
      [17-Jul-2023 11:57:10 Europe/Amsterdam] Rule ID 0 for https://padelalto.com/feed succesfully run! 1 posts created!

      you can eventually log in on my site again. The credentials are still the same 🙂

    • #8073


      Szabi – CodeRevolution
      Keymaster
      Post count: 4623

      Hello,

      First of all, thank you for your purchase.

      Please go to the ‘Main Settings’ menu of the plugin and Check the ‘The Above Is A DeepL Free API Key’ checkbox -> save settings.

      Let me know if this helped.

      Regards, Szabi – CodeRevolution.

    • #8074


      woutr
      Participant
      Skilled
      Post count: 10

      Hey Szabi,

      It is checked, i’ve unchecked and checked it several times now.

    • #8086


      Szabi – CodeRevolution
      Keymaster
      Post count: 4623

      Ok, interesting. Please send me temporary admin login credentials to your site and I check on this. My email is kisded@yahoo.com

      Regards.

    • #8089


      woutr
      Participant
      Skilled
      Post count: 10

      Ive sent you a password reset bro!

    • #8091


      Szabi – CodeRevolution
      Keymaster
      Post count: 4623

      Please send an email manually with credentials to kisded@yahoo.com, as I did not receive the email with the password reset.

    • #8092


      woutr
      Participant
      Skilled
      Post count: 10
      This reply has been marked as private.
    • #8095


      Szabi – CodeRevolution
      Keymaster
      Post count: 4623

      Hello,

      I checked your site and I saw that the issue was with the DeepL API key you entered in the plugin’s settings. Please be sure to use an API key which still has credits left and also has access to the DeepL API.

      I checked the plugin with my own DeepL free API key, and for me, it worked.

      Also, the issue in the logs was purely cosmetic, the plugin was displaying in logs the api.deepl.com URL, but actually was calling the api-free.deepl.com URL, which is correct.

      However, in your case, DeepL is denying requests also for the free endpoint, as your current API keys are not valid for some reason. Please recreate them or use another account.

      Let me know if this helped.

      Regards.

Viewing 7 reply threads

The topic ‘Deepl API key not reverting back to api-free.deepl.com’ is closed to new replies.