Automating Pinterest OAuth Token Refresh in Make.com - 401 Authentication Error

Hi Make.com Community,

I’m working on automating Pinterest actions in Make.com and am encountering issues with the OAuth token refresh. Here’s a rundown of my setup and the challenges I’m facing:

Setup:

  • I’ve successfully connected my Pinterest account to Make.com using the built-in Pinterest integration.
  • The initial connection works, and I can retrieve data and perform actions.
  • I’ve acquired permissions for user_account:read, boards:read, boards:write, pins:read, pins:write, and ads:read.

Goal:

Pinterest’s OAuth access tokens expire after 30 days, so I want to automate the refresh process to avoid manual re-authentication each month.

  1. However, I keep getting a 401 Authentication failed error when running this request. I tried different configurations, with and without the scope parameter, but still can’t get it to work.

Issues/Questions:

  1. Does Make.com support automatic refresh for Pinterest tokens by default? Or do we need to set up a custom scenario for it?
  2. If a custom scenario is required, am I setting up the token refresh correctly with the right format in the body?
  3. Is there any specific configuration in Make.com’s Pinterest integration that allows it to automatically manage token refreshes without requiring manual setup?
  4. If anyone has successfully automated this, could you please share any tips or adjustments?

Any help would be appreciated! Thanks in advance for guiding me through this.