The provided API key is invalid

Created on 13 December 2022, over 1 year ago
Updated 23 August 2023, 10 months ago

Problem/Motivation

The module doesn't allow to save the settings unless you enter an API key that works. This means you can't change the other settings, and happens for example if the API key is a valid one but is constrained by IP address, e.g. changing it on a dev machine.

Steps to reproduce

Just enter any text in the Mailchimp Transactional API Key field, or enter a valid API key that's restricted to a different IP than the current server IP.

Proposed resolution

Checking the API key by pinging the API should be informational only, it shouldn't prevent saving of the form.

Instead of setting an error in the validateForm() callback, show a message or do it in the buildForm() under the field.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom Rob230

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024