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

The endpoint used by get_usage_status can only be used from the browser #46

Closed
roryl23 opened this issue Aug 9, 2023 · 2 comments
Closed
Assignees

Comments

@roryl23
Copy link
Collaborator

roryl23 commented Aug 9, 2023

OpenAI broke this endpoint:

{
    "error": {
      "message": "Your request to GET /v1/dashboard/billing/subscription must be made with a session key (that is, it can only be made from the browser). You made it with the following key type: secret.",
      "type": "server_error",
      "param": null,
      "code": null
    }
  }
@roryl23 roryl23 self-assigned this Aug 9, 2023
@roryl23
Copy link
Collaborator Author

roryl23 commented Aug 9, 2023

I'm not sure if there's a way to fix this without ripping out get_usage_status

@roryl23
Copy link
Collaborator Author

roryl23 commented Nov 5, 2023

Closing because this issue is sidestepped in 0.8.7: https://github.com/JuliaML/OpenAI.jl/releases/tag/v0.8.7

@roryl23 roryl23 closed this as completed Nov 5, 2023
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