Tuya deny error and cannot change device permission

I am trying to connect with tinytuya library to a device that is in tuya cloud, and change its status. But I get “permission deny” error. When I check the device permission is only set at Read, and I cannot change it to “Read and Write”.

I am attaching a screenshot.

Any help will be appreciated. Specially if it is helpful :wink: Thanks!