> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-hivemind-launch.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# run을 로깅할 때 발생하는 권한 오류를 어떻게 해결하나요?

W\&B entity에 run을 로깅할 때 발생하는 권한 오류를 해결하려면 다음 단계를 따르세요.

* **entity 및 프로젝트 이름 확인**: 코드에서 W\&B entity 및 프로젝트 이름의 철자와 대소문자가 정확한지 확인하세요.
* **권한 확인**: 관리자에게 필요한 권한이 부여되었는지 확인하세요.
* **로그인 자격 증명 확인**: 올바른 W\&B 계정에 로그인했는지 확인하세요. 다음 코드로 run을 생성해 테스트해 보세요.
  ```python theme={null}
  import wandb

  run = wandb.init(entity="your_entity", project="your_project")
  run.log({'example_metric': 1})
  run.finish()
  ```
* **API 키 설정**: `WANDB_API_KEY` 환경 변수를 사용하세요.
  ```bash theme={null}
  export WANDB_API_KEY='your_api_key'
  ```
* **호스트 정보 확인**: 맞춤형 배포의 경우 호스트 URL을 설정하세요.
  ```bash theme={null}
  wandb login --relogin --host=<host-url>
  export WANDB_BASE_URL=<host-url>
  ```

***

<Badge stroke shape="pill" color="orange" size="md">[Runs](/ko/support/models/tags/runs)</Badge><Badge stroke shape="pill" color="orange" size="md">[보안](/ko/support/models/tags/security)</Badge>
