Skip to content

Rate Limit Error #1552

@rjlarsen842

Description

@rjlarsen842

Describe the bug
We are using the cwms-python method "rate_values" to utilize the rate function in CDA within a bulletin script. There are 58 projects contained in the bulletin and we are rating 2 different elevation zones (1 value) at each project to calculate the corresponding storage value. At varying points in the bulletin, the script begins to throw a Rate Limit Error and does not rate the elevation values. We are using threading to make the bulletin run faster but the Rate Limit Error also occurs when the max threads is set to 1. The errors are intermittent. I can run the script and not receive any errors and rerun the script and receive many Rate Limit Errors.

Expected behavior
All elevation values should be rated.

To Reproduce
Run our NWD_Reservoir_Bulletin_Jpype.py script on a PC. We are still working on setting it up on the NWO T7.

Logs/Incident Identifier

NWD_Reservoir_Bulletin_Jpype.log

CURL Commands
If applicable, add the curl command from the SWAGGER UI to help reproduce your problem.
REDACT any internal domains/IP addresses.

CDA Version (please complete the following information):
At the top of any instance of CDA you will see a version. Please provide that version.

  • Version [e.g. 2025.08.18 ]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions