Comments (4)
@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.
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.
@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 It seems that you aren't providing the
ClarifaiApp
constructor with anyapi_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)
- TypeError: __init__() missing 1 required positional argument: 'descriptor_pool' HOT 4
- pip install fail on Python 3.6.0 HOT 1
- Is there a way we can get the app details and usage info using the Python API? HOT 7
- Tests are installed to system site-packages
- Import Clarifai works in Django project, but not in vanilla .py file. HOT 1
- Issue in Explicit wait using selenium with Python
- TypeError: Couldn't build proto file into descriptor pool! HOT 2
- How can I get coordinates of bounding box?
- Getting an error in python grpc client HOT 2
- ModuleNotFoundError: No module named 'clarifai.rest' HOT 1
- I have issue with d 'clarifai.rest' HOT 1
- TQDM version HOT 2
- Handler added to root logger
- Loosen requirement constraints
- Consider switching to `python -m build`
- Message type "clarifai.api.ModelVersion" has no field named "train_stats" HOT 2
- ApiError.response is None if no internet connection HOT 4
- 2.4.2 Commits & Changelog HOT 1
- multiprocessing bug, requests HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clarifai-python.