Thread:Project:Support desk/Bad or Invalid Token in Extension with API/reply

Someone on the mailing list helped me with using the below code instead.