This repository was archived by the owner on May 9, 2020. It is now read-only.
This repository was archived by the owner on May 9, 2020. It is now read-only.
Unhandled rejection CloudflareError: 1020 #268
Closed
Description
- What version of Cloudscraper are you using? 4.1.2
node -p 'require("cloudscraper/package.json").version'
- What version of Node.js are you using? (Please share the process information)
node -p process
v10.16.3
- When did the problem start occurring? This night.
- How often does the problem occur? Everytime
- What is the URL? https://haapi.ankama.com/json/Ankama/v2/Api/CreateApiKey
- Are there any similar issues? Yeah but doesn't help me.
Code snippet
var options = {
uri: 'https://haapi.ankama.com/json/Ankama/v2/Api/CreateApiKey',
formData: { login: username, password: password, long_life_token: 'false' }
};
cloudscraper.post(options, function(error, response, body) {
if (error) {
console.log("an error has occured");
} else {
console.log(body, response);
}
});
Thank's.
Metadata
Metadata
Assignees
Labels
No labels