Skip to main content

Im customizing an oauth web data connector 3.0 so I can pull data from a graphql endpoint. Has anyone attempted to do this before? I keep getting a 405 Method not allowed error even though my code indicates "POST" 

 

#Tableau Desktop & Web Authoring

1 answer
  1. Today, 6:51 PM

     Hey Shama, ran into this before, usually it's not your code, it's Tableau doing a GET or OPTIONS check behind the scenes before your actual POST fires, and GraphQL endpoints often reject that with a 405. 

    Try testing your endpoint directly in Postman with the same headers your connector sends, that'll tell you fast if it's a Tableau-side call or your server rejecting the preflight/OPTIONS request. Also double check you're not relying on a default fetch config somewhere that quietly sends GET instead of POST. 

0/9000