You do not have write access | Updating Secret's note

I created a service token with read write and I tried to update my secrets note via api and it threw write access error