Nodered keeps restarting with processTicksAndRejections error

Actually that looks like a contrib node.

In short, a contrib node should NOT crash node-red, regardless of bad credentials or misconfiguration.

You should raise an issue on the repository: Issues · jpwsutton/node-red-contrib-surepet · GitHub

I believe the issue is they are not handling the promise .then & .catch here: node-red-contrib-surepet/surepet.js at 548e3d50560bb9af4b4a38195c72e43495da02d0 · jpwsutton/node-red-contrib-surepet · GitHub