Skip to content

Error while /oauth/request_token #40

@Abhishek2250

Description

@Abhishek2250

Hi,

I'm getting the error while calling /oauth/request_token api. I've done some console.log in the code.

uri: https://api.twitter.com/oauth/request_token

headers: {"headers": {"Authorization": "OAuth oauth_callback=https%3A%2F%appName.app, oauth_consumer_key=your_consumer/-key, oauth_nonce=qubNcG7rUP3MjQwxwxOmCtCiocLlkpkz, oauth_signature=uEaaVFVjbAITfZua91l%2FIsHOYtE%3D, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1652179191.233, oauth_version=1.0"}, "method": "POST"}

response:
{"_bodyBlob": {"_data": {"__collector": [Object], "blobId": "E10BAB59-68BC-44D8-9F60-4080584B7AA3", "name": "request_token.html", "offset": 0, "size": 4078, "type": "text/html"}}, "_bodyInit": {"_data": {"__collector": [Object], "blobId": "E10BAB59-68BC-44D8-9F60-4080584B7AA3", "name": "request_token.html", "offset": 0, "size": 4078, "type": "text/html"}}, "bodyUsed": false, "headers": {"map": {"alt-svc": "h3=":443"; ma=2592000,h3-29=":443"; ma=2592000", "cache-control": "no-cache, no-store, max-age=0", "content-encoding": "gzip", "content-length": "1723", "content-security-policy": "default-src 'none'; img-src https://abs.twimg.com; script-src https://abs.twimg.com about:; style-src https://abs.twimg.com 'unsafe-inline'; font-src https://abs.twimg.com https://twitter.com; connect-src 'none'; object-src 'none'; media-src 'none'; frame-src 'none'; report-uri https://twitter.com/i/csp_report?a=ORTGK%3D%3D%3D&ro=false", "content-type": "text/html;charset=utf-8", "date": "Tue, 10 May 2022 10:39:51 UTC", "server": "tsa_k", "strict-transport-security": "max-age=631138519", "via": "1.1 google", "x-connection-hash": "72a9703d94498b092114f5d90dd45127ba542bf54d6d1784a6ae360b748ea308", "x-response-time": "178", "x-xss-protection": "0"}}, "ok": false, "status": 404, "statusText": "", "type": "default", "url": "https://api.twitter.com/oauth/request_token"}

Can you plz help me?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions