[GH-ISSUE #1599] Invalid DNSpod credentials template #1202

Closed
opened 2026-02-26 06:36:12 +03:00 by kerem · 3 comments
Owner

Originally created by @yangjinhe on GitHub (Nov 20, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1599

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
Now nginxproxymanager provides two parameters for DNSPod, dns_dnspod_email and dns_dnspod_api_token,
In fact, DNSPod also requires a parameter, the name is called ID, if not provided, it will prompt the following information:

[DNSPOD] Record.Create error: The login token ID is invalid
[DNSPOD] Record.List error: The login token ID is invalid
Error communicating with the DNSPOD API: The login token ID is invalid

Nginx Proxy Manager Version
v2.9.12

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'SSL Certificates'
  2. Click on 'Add Let's Encrypt Certificate'
  3. Scroll down to 'Use a DNS Challenge'
  4. DNS Provider change to 'DNSPod'
  5. modify 'Credentials File Content' ,replace dns_dnspod_email to my email, replace dns_dnspod_api_token to my token
  6. Click Save.
  7. See error
Originally created by @yangjinhe on GitHub (Nov 20, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1599 **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** Now nginxproxymanager provides two parameters for DNSPod, dns_dnspod_email and dns_dnspod_api_token, In fact, DNSPod also requires a parameter, the name is called ID, if not provided, it will prompt the following information: [DNSPOD] Record.Create error: The login token ID is invalid [DNSPOD] Record.List error: The login token ID is invalid Error communicating with the DNSPOD API: The login token ID is invalid **Nginx Proxy Manager Version** v2.9.12 **To Reproduce** Steps to reproduce the behavior: 1. Go to 'SSL Certificates' 2. Click on 'Add Let's Encrypt Certificate' 3. Scroll down to 'Use a DNS Challenge' 4. DNS Provider change to 'DNSPod' 5. modify 'Credentials File Content' ,replace dns_dnspod_email to my email, replace dns_dnspod_api_token to my token 6. Click Save. 7. See error
kerem 2026-02-26 06:36:12 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@sunjx97 commented on GitHub (Jan 1, 2022):

I found something that may be helpful to you. Here is the url: certbot dns插件
It said that you should write both id and key there.

certbot_dns_dnspod:dns_dnspod_api_token = "id,key"

<!-- gh-comment-id:1003487847 --> @sunjx97 commented on GitHub (Jan 1, 2022): I found something that may be helpful to you. Here is the url: [certbot dns插件](https://www.jianshu.com/p/659dc904967f) It said that you should write both id and key there. > certbot_dns_dnspod:dns_dnspod_api_token = "id,key"
Author
Owner

@chaptergy commented on GitHub (Jan 1, 2022):

I don't understand much whats on that website. I've also found an issue with the challenge plugin showing exactly what this issue describes, but the author closed it, presumably because they misunderstood something? If any of you can tell me how it is correct and how it works without issues let me know. I will replace the template with your suggestion then.

<!-- gh-comment-id:1003585495 --> @chaptergy commented on GitHub (Jan 1, 2022): I don't understand much whats on that website. I've also found [an issue with the challenge plugin](https://github.com/SkyLothar/certbot-dns-dnspod/issues/2) showing exactly what this issue describes, but the author closed it, presumably because they misunderstood something? If any of you can tell me how it is correct and how it works without issues let me know. I will replace the template with your suggestion then.
Author
Owner

@sunjx97 commented on GitHub (Jan 2, 2022):

As I mentioned above, maybe you just need to write both id and its token there (English half-comma separated).
For example, suppose its id is 123456 and its token is abcdefgfedcba, what you should do is to write like this:
dns_dnspod_email = "name@example.com"
dns_dnspod_api_token = "123456,abcdefgfedcba"

<!-- gh-comment-id:1003655091 --> @sunjx97 commented on GitHub (Jan 2, 2022): As I mentioned above, maybe you just need to write both id and its token there (English half-comma separated). For example, suppose **its id is 123456** and **its token is abcdefgfedcba**, what you should do is to write like this: dns_dnspod_email = "name@example.com" dns_dnspod_api_token = "**123456,abcdefgfedcba**"
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1202
No description provided.