Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Key Exposure Leading to Exhausted Credits #2

Open
sabeerbikba opened this issue Aug 4, 2024 · 0 comments
Open

API Key Exposure Leading to Exhausted Credits #2

sabeerbikba opened this issue Aug 4, 2024 · 0 comments

Comments

@sabeerbikba
Copy link

It seems that your API credits have been depleted, as indicated by the error message:

{
   "detail":"API credits exhausted. Visit https://app.photoroom.com/api-dashboard to purchase more API credits",
   "status_code":402,
   "type":"unknown_error"
}

This is likely due to your API key being exposed. As mentioned in issue #1, this exposure could lead to unauthorized usage and depletion of your API credits.

To prevent such issues, ensure that your API keys are secured. You can follow the Netlify documentation on securing environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant