Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have an error 404 #123

Open
thander opened this issue Dec 11, 2024 · 0 comments
Open

I have an error 404 #123

thander opened this issue Dec 11, 2024 · 0 comments

Comments

@thander
Copy link

thander commented Dec 11, 2024

I use: version 0.0.45
const api = new TwitterOpenApi();
const client = await api.getGuestClient();
const response = await client.getUserApi().getUserByScreenName({screenName: username});

Error [ResponseError]: Response returned an error code
at new ResponseError (webpack-internal:///(rsc)/./node_modules/twitter-openapi-typescript-generated/dist/runtime.js:405:28)
at UserApi.eval (webpack-internal:///(rsc)/./node_modules/twitter-openapi-typescript-generated/dist/runtime.js:325:31)
at step (webpack-internal:///(rsc)/./node_modules/twitter-openapi-typescript-generated/dist/runtime.js:72:23)
at Object.eval [as next] (webpack-internal:///(rsc)/./node_modules/twitter-openapi-typescript-generated/dist/runtime.js:53:53)
at fulfilled (webpack-internal:///(rsc)/./node_modules/twitter-openapi-typescript-generated/dist/runtime.js:44:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
response: Response {
[Symbol(realm)]: null,
[Symbol(state)]: {
aborted: false,
rangeRequested: false,
timingAllowPassed: true,
requestIncludesCredentials: true,
type: 'default',
status: 404,
timingInfo: [Object],
cacheState: '',
statusText: 'Not Found',
headersList: [HeadersList],
urlList: [Array],
body: [Object]
},
[Symbol(headers)]: HeadersList {
cookies: null,
[Symbol(headers map)]: [Map],
[Symbol(headers map sorted)]: null
}
}
}

@thander thander changed the title I have error 404 I have an error 404 Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant