Skip to main content
Question

Invalid authorization: Failed to decode server ID and secret from token

  • November 13, 2025
  • 2 replies
  • 19 views

After the successful, OAuth2.0 AuthorizationCodeGrantFlow and fetching the access token. When connecting to zapier mcp server, I am getting 

data: {"jsonrpc":"2.0","id":0,"error":{"code":-32001,"message":"Error POSTing to endpoint (HTTP 401): {\"jsonrpc\":\"2.0\",\"id\":null,\"error\":{\"code\":-32600,\"message\":\"Invalid authorization: Failed to decode server ID and secret from token\"}}","data":{}}}

2 replies

AlexanderHarris2345
Forum|alt.badge.img

This error usually means the access token isn’t being decoded properly by the server. Double-check that your client ID and secret are correctly encoded when exchanging the authorization code for the token. Also ensure that Zapier is sending the token in the correct header format (Authorization: Bearer <token>).


  • New
  • November 17, 2025

Zapier supports DCR. So the clientId and clientSecret is being generated by DCR flow. Also it was working before. But right now it stopped working. Is there been any change? I am also not able to connect it via MCPInspector.