Unable to POST Pin to Pinterest – "Authorization Failed" even in Sandbox Mode

I’m trying to create a pin on Pinterest using the official https://api-sandbox.pinterest.com/v5/pins endpoint via an HTTP Request node in n8n.
The GET request works perfectly, and I’m able to retrieve pins and board data using OAuth2 credentials.
However, the POST request fails with the following error:

Problem in node ‘post‘
Authorization failed – please check your credentials

Describe the problem/error/question

  • Endpoint: https://api-sandbox.pinterest.com/v5/pins
  • Auth Type: OAuth2
  • OAuth2 Scopes: pins:read boards:read pins:write
  • Credential Test: Passed successfully
  • GET Request Result: :white_check_mark: Successfully fetches pin data
  • POST Request Result: :cross_mark: Fails with authorization error

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.