02.04.2024, 06:55
If it does not work then log what is returned by the HTTP request. You might also need to request a new token periodically as it has a limited lifetime. You can either do it before each request or via a scheduled script and save token into storage then use it in sending scripts.