Thank you, i got it working. it wasn’t using the .then & .catch and as such the promise wasn’t being handled correctly