ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] Recurring QuotaExceeded error

Open
#5,010 7 comments 0 reactions 1 assignee Claimed by @Dogtiti View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

NextChat crashing regularly with:

`QuotaExceededError: The Quota Has been exceeded.`

I've tried multiple higher settings in both "Max Tokens" and "History Compression Threshold", and now back to 10000.

This recurrs regardless of token or model used. This seemed to start after adding Anthropic API, with lower token limit, and hence required I changed token limit.

I've since changed back/uninstalled/reset/cleared data and it's made no difference.

I'm also getting quota exceeded messages on short prompt replies, right now gpt-4o-2024-05-13
```
{
"error": true,
"message": "The quota has been exceeded."
}
```

On trying to prompt:
![image](https://github.com/user-attachments/assets/ef51f016-a3af-4801-9e46-a5ed8e67b596)

On creating a new empty chat:
![image](https://github.com/user-attachments/assets/b640f43e-09bf-4bb4-9275-90274f7432bf)

### Steps to Reproduce

Write prompts,

### Expected Behavior

Complete prompt, not crash

### Screenshots

_No response_

### Deployment Method

- [ ] Docker
- [ ] Vercel
- [ ] Server

### Desktop OS

Macos 14.5

### Desktop Browser

NextChat

### Desktop Browser Version

2.12.4

### Smartphone Device

_No response_

### Smartphone OS

_No response_

### Smartphone Browser

_No response_

### Smartphone Browser Version

_No response_

### Additional Logs

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.