Getting account not found error in some api’s.
I m trying to access tweet for one of my account (Sandbox account) and also
I m able to access promotable_users api by that same account id but for some api’s i m getting error account not found.

Hello,

Thanks for reaching out. Can you provide the API request/response logs for us to further troubleshoot the issue?

api - https://ads-api.twitter.com/11/accounts/gq89n0/tweets?tweet_type=PUBLISHED

Error: Twitter-Ads API Error: Account gq89n0 was not found
at Object.helpers.parseResponse (D:\aspirebit\Lookfinity\node_modules\twitter-ads\lib\helpers.js:59:15)
at Request._callback (D:\aspirebit\Lookfinity\node_modules\twitter-ads\lib\twitter_ads.js:88:17)
at Request.self.callback (D:\aspirebit\Lookfinity\node_modules\request\request.js:185:22)
at Request.emit (events.js:376:20)
at Request. (D:\aspirebit\Lookfinity\node_modules\request\request.js:1154:10)
at Request.emit (events.js:376:20)
at IncomingMessage. (D:\aspirebit\Lookfinity\node_modules\request\request.js:1076:12)
at Object.onceWrapper (events.js:482:28)
at IncomingMessage.emit (events.js:388:22)
at endReadableNT (internal/streams/readable.js:1336:12) {
allErrors: [ { code: ‘NOT_FOUND’, message: ‘Account gq89n0 was not found’ } ]
}

Hello,

For sandbox, you may want to use the url ads-api-sandbox.twitter.com

Also, if you refer to this documentation, there are only limited API endpoint that can be used for the sandbox environment.