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

Gandi API change #554

Closed
webprofusion-chrisc opened this issue Jun 21, 2024 · 3 comments
Closed

Gandi API change #554

webprofusion-chrisc opened this issue Jun 21, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@webprofusion-chrisc
Copy link
Contributor

I think maybe the Gandi API endpoint has changed, not sure if the API requests stay the same or not. I'm seeing reported errors like {"object": "HTTPNotFound", "cause": "Not Found", "code": 404, "message": "The resource could not be found."} when trying to add TXT records. I don't personally have access to a Gandi account, this is based on second hand info so I'm just flagging it in case anyone else is seeing this.

https://api.gandi.net/docs/livedns/

@webprofusion-chrisc
Copy link
Contributor Author

@rmbolger rmbolger self-assigned this Jun 24, 2024
@rmbolger rmbolger added the bug Something isn't working label Jun 24, 2024
@rmbolger
Copy link
Owner

rmbolger commented Jun 24, 2024

Looks like they may have added a new authentication method for the API (Personal Access Tokens) and deprecated the old simple API Keys. Though the old method still works if you generate a key.

https://api.gandi.net/docs/authentication/

image

Working on adding support for PATs now. Annoyingly, it looks like they won't allow you to generate a PAT that is good for more than 1 year. So people using them will need to remember to update their PATs annually.

Coincidentally, I feel like I've seen a lot of random social media posts recently with people wanting to ditch Gandi for some reason.

rmbolger added a commit that referenced this issue Jun 24, 2024
@rmbolger
Copy link
Owner

The PAT change is now live in 4.25.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants