ancient-wolf-19325
07/28/2024, 8:29 PMpyflyte run -r -p my-project -d development example.py wf --name Ada
Running Execution on Remote.
<..snip..>
Request rejected by the API, due to Invalid input.
RPC Failed, with Status: StatusCode.INVALID_ARGUMENT
details: project [my-project] is not active
# Answer
The error message indicates that the project my-project is not active. This typically means that the project has not been properly registered or activated in your Flyte deployment.
To resolve this, you need to ensure that the project is registered and active. You can do this using the Flyte CLI. Here are the steps:
1. Register the Project: Use the flyte-cli to register your project.
flyte-cli register-project --identifier my-project -n "My Project" -d "Description of my project" -h '<FLYTE_PLATFORM_URL>' -i
2. Check Project Status: Ensure that the project is active. You can check the status of your projects in the Flyte console or by using the Flyte CLI.
If you are using a sandbox environment, you might need to ensure that the sandbox is properly configured to recognize the new project.
Would you like more detailed steps or additional troubleshooting tips?
Sources:
- Flyte Issue #755
- Flyte Issue #2622
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1722198530.385019 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.