Custom notification builder works when tested, published version gives a 500 internal error and appears to not even get into the function as there is custom error handling and logs. This was working flawlessly for us until recently with no modifications to the code.
We have updated the packages and tried to branch the code and even start a new repo. Nothing is working.
Has anyone else experienced this issue or have any thoughts or ideas?