Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Incorrect validation message from /acme_accounts #6368

@ocket8888

Description

@ocket8888

This Bug Report affects these Traffic Control components:

  • Traffic Ops

Current behavior:

If a PUT or POST request to /acme_accounts omits privateKey or makes it null or a blank string, the API will report in an error-level alert: "validating: 'private_key' cannot be blank"

Expected behavior:

The API should respond with the actual name of the missing, required field, which in this case is privateKey (not private_key).

Steps to reproduce:

topost -kpa 3.1 acme_accounts '{"email": "a", "uri": "a", "provider": "a"}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendedlow difficultythe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions