Does EDP_Upload block channels

I have created a custom device that on DIA that reads channel values and sends them as JSon to a database. It works fine when I don’t use edp_upload. However, I want the data to go to both the digi device cloud as well as to my database (I am testing the system and want to have a backup). If I use edp_upload and try to read the channels I get the error: DevicePropertyPermError: get permission denied

Both edp_upload and my db upload work fine on their own, but not together.