the function is working fine in the local emulator, but not after deployement , plus logs are not giving me enough informations about the problem