Caching M2M access token in Actions

Hi @saiful1991,

Thank you for your reply.

Yes, the execution timeout exceeded error can happen if your execution flow takes more than 20 seconds to run. See below:

(Reference: Action limitations)

No, there is no need for additional parameters in the request header.

I also recommend using the Real-time Webtask Logs Extension to debug your Action scripts if they are exceeding 20 seconds.

Could you please clarify what you would like to do with your cached token?

Note that the access token created in the Action is not the same token issued to the application performing the Client Credentials flow.

I look forward to your reply.

Thanks,
Rueben