You probably need to extend your Tuya Cloud API trial.
Check following link under “Q2: Will I be billed after the free trial of the API service expires?”