mlco2 / mlco2/codecarbon

How to get access token?

Open
#714 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
Python
Stars
1.9k
Forks
323
Avg merge
1d 12h
Merged PRs (30d)
12

Description

  • CodeCarbon version: 2.7.4
  • Python version: 3.11.9
  • Operating System: Ubuntu 24.04

I am not able to do anything as codecarbon config command returns a FiefAuthNotAuthenticatedError error when calling the _get_access_token function after asking the API endpoint.

How to get this access token ? It's mentioned nowhere.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the codecarbon config command to the _get_access_token function and the API endpoint mentioned in the report. Document how users obtain or configure the access token, including any required authentication steps. Done means the documented setup lets a user run codecarbon config without encountering the reported authentication error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, cli, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.