Terraform fails on Screen Recording config with 400 Bad Request

Has anyone figured out why the genesyscloud_screen_recording_settings resource fails during apply?

Pushing the HCL block returns a 400 error.

The payload seems valid according to the OpenAPI spec.

Error message: “Invalid value for recording_retention_days. Must be between 1 and 365.”

I am setting it to 30.

This works fine in the Admin UI.

The API documentation does not mention any hidden constraints.

Environment details:

Provider version: 1.18.2
Region: us-1
Terraform version: 1.5.7

The JSON plan shows the correct integer value.

No other resources in the state are locked.

Retrying does not help.

Is there a bug in the provider validation logic?

Or is the API rejecting valid inputs?

Attached is the minimal reproducible HCL block.

Thanks for the help.