Giter Club home page Giter Club logo

Comments (7)

stevermeister avatar stevermeister commented on August 21, 2024 1

I'll resume for those who will have this issue in the future. (It was not that easy for me to figure out the issue based on this thread).

There are different plan types, if you select the wrong one your key will not work with API giving this strange error
Screenshot 2023-08-24 at 11 47 26

from deepl-python.

daniel-jones-deepl avatar daniel-jones-deepl commented on August 21, 2024

Hi @ibelous, thank you for reporting your problem.
This library is only intended to be used with DeepL API accounts; using keys from other kinds of accounts will not work.

from deepl-python.

MystiqueMo avatar MystiqueMo commented on August 21, 2024

Hi @ibelous, thank you for reporting your problem. This library is only intended to be used with DeepL API accounts; using keys from other kinds of accounts will not work.

Sorry no offense, but I don't see how this response addressed the problem. The API he/she made a request to was that of a deepl account or did you make a typo in your response to the issue?

from deepl-python.

daniel-jones-deepl avatar daniel-jones-deepl commented on August 21, 2024

Hi @MystiqueMo, this is a fair question to ask, the naming of the different account types can be confusing.

DeepL has two main account types: DeepL Pro (for our other platforms) and DeepL API (for our API). DeepL API accounts are further differentiated into two sub-types DeepL API Free and DeepL API Pro (this last one might lead to confusion).

I figured out the original issue creator had a DeepL Pro account, rather than a DeepL API account. DeepL API accounts (both Free and Pro) include an authentication key for the API, and are supported by this client library, other account types are not.

from deepl-python.

NaomiH0C avatar NaomiH0C commented on August 21, 2024

when i try to use the api i get this error {“message”:“Wrong endpoint. Use https://api.deepl.com/”}
even though i use the correct endpoint..

from deepl-python.

daniel-jones-deepl avatar daniel-jones-deepl commented on August 21, 2024

Hi @NaomiH0C, thanks for reporting your problem. Do you use an DeepL API Free or DeepL API Pro account?
You shouldn't need to specify the endpoint using server_url; the correct endpoint is selected automatically for DeepL API accounts.
If you recently upgraded from Free to Pro, you could try regenerating your API key and trying with the new key.

from deepl-python.

MystiqueMo avatar MystiqueMo commented on August 21, 2024

Hi @MystiqueMo, this is a fair question to ask, the naming of the different account types can be confusing.

DeepL has two main account types: DeepL Pro (for our other platforms) and DeepL API (for our API). DeepL API accounts are further differentiated into two sub-types DeepL API Free and DeepL API Pro (this last one might lead to confusion).

I figured out the original issue creator had a DeepL Pro account, rather than a DeepL API account. DeepL API accounts (both Free and Pro) include an authentication key for the API, and are supported by this client library, other account types are not.

Okay, understood.

Thanks for clarifying @daniel-jones-deepl.

from deepl-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.