pinterest / pinterest-python-generated-api-client Goto Github PK
View Code? Open in Web Editor NEWThis is the auto-generated code using OpenAPI generator. Generated code comprises HTTP requests to various v5 API endpoints.
This is the auto-generated code using OpenAPI generator. Generated code comprises HTTP requests to various v5 API endpoints.
I'm getting this error:
Exception when calling AdAccountsApi->ad_account_analytics: (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Connection': 'keep-alive', 'Content-Length': '64', 'content-type': 'application/json', 'x-content-type-options': 'nosniff', 'x-envoy-upstream-service-time': '0', 'cache-control': 'no-cache, no-store, must-revalidate', 'age': '0', 'set-cookie': '_ir=0; Max-Age=1800; HttpOnly; Path=/; Secure', 'x-pinterest-rid': '1337919202421304', 'Date': 'Tue, 22 Aug 2023 20:50:58 GMT', 'X-CDN': 'fastly', 'alt-svc': 'h3=":443";ma=600', 'Pinterest-Generated-By': 'tpp-api-canary-0a019891'})
HTTP response body: {"code":2,"message":"Authentication failed.","status":"failure"}
I have created the API and it's already Trial access active, so I generate the token for the sandbox environment, which provides access to all these scopes:
https://developers.pinterest.com/docs/getting-started/scopes/#OpenAPI%20security%20definitions
So, I don't know what's the problem. By the way I have Analyst access to the ads account.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.