I tried to run a API call by using the access_token which is generated by using the freshworks oauth method. but it returns an unauthorised error (401).
i tried to send a access_token which is generated my app in local directly, without using the placeholder (<%= access_token %>) and its working as expect. When im using the placeholder the app is not working as expected can anyone help on this?
I have attached the my code FYR.