This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
403 error #99
Comments
Do you have a code snippet that reproduces the problem? |
When I want to create or delete a DNS record, I get an error |
I know why it shows, when I called API endpoint with CURL, I got this error
The API wrapper's error catching should be improved, really high priority. |
+1 Having this error module.exports = async (cf_api_token, cf_zone, cf_record_id) => {
var cf = require('cloudflare')({
token: cf_api_token
});
return await cf.dnsRecords.del(cf_zone, cf_record_id);
} |
Nevermind, it was because I was trying to use a freenom domain. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I want to create DNS record or delete DNS record I am getting
Response code 403 (Forbidden)
I am using
cloudflare.dnsRecords.add()
andcloudflare.dnsRecords.del()
methods.My API token perms:
The text was updated successfully, but these errors were encountered: