Giter VIP home page Giter VIP logo

Comments (4)

rok-povsic avatar rok-povsic commented on May 29, 2024 1

@ekinburak Your api_key is incorrect; I get this same error if I use a wrong key.

I see that from the log the reason for the error is not clear, thanks for pointing this out. We'll fix it.

from clarifai-python.

akhil01236 avatar akhil01236 commented on May 29, 2024

b'GET https://api.clarifai.com/v2/models FAILED(1580235952.0145917). status_code: 401, reason: Unauthorized, error_code: 11009, error_description: API key not found, error_details: invalid key(None)\n >> Python client 2.6.2 with Python 3.7.4 on win32\n >> GET https://api.clarifai.com/v2/models\n >> REQUEST(1580235952.0145917) {\n "page": 1,\n "per_page": 20\n}\n >> RESPONSE(1580235952.0145917) {\n "status": {\n "code": 11009,\n "description": "API key not found",\n "details": "invalid key(None)",\n "req_id": "1f43314a008044d9919097a30b1f134e"\n },\n "models": []\n}'

How can i fix this?

from clarifai-python.

rok-povsic avatar rok-povsic commented on May 29, 2024

@akhil01236 It seems that you aren't providing the ClarifaiApp constructor with any api_key parameter.

It should be like this:

app = ClarifaiApp(api_key='YOUR_API_KEY')

from clarifai-python.

akhil01236 avatar akhil01236 commented on May 29, 2024

@akhil01236 It seems that you aren't providing the ClarifaiApp constructor with any api_key parameter.

It should be like this:

app = ClarifaiApp(api_key='YOUR_API_KEY')

help me out here , i am totally a newbie in this field.
so i need to replace
' YOUR_API_KEY' with my api key ?right??

from clarifai-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.