I’ve taken a look at my function that handles all of this, and one thing I noticed is that it’s checking the chatters API inside of this other API function check… The problem I noticed is that I copied and pasted that API function from a separate function (to merge them both together), and forgot to put it inside the if statements that make sure it’s not null… This could possibly be why, we’ll soon find out. I’ve also implemented a try statement as suggested by QwisoDev !
Thanks for the replies guys, I’ll keep you updated as to how this goes.