“Identifier” in subproblems?

I’m receiving this from the production v2 endpoint:

  "subproblems": [
    {
      "type": "urn:ietf:params:acme:error:urn:ietf:params:acme:error:rejectedIdentifier",
      "detail": "Error creating new order :: Name does not end in a public suffix",
      "status": 400,
      "Identifier": {
        "type": "dns",
        "value": "addon2.tld"
      }
    },

^^ Shouldn’t that Identifier be identifier?

2 Likes

Yup, the field is missing a json:"identifier" struct tag:

Do you wanna submit a PR to Boulder?

3 Likes

I’m hardly a golang programmer, but sure …

3 Likes

Thanks, this was fixed in master with https://github.com/letsencrypt/boulder/commit/b90569121114413d9fc1221cda0df43e79be9895

It will go out as part of next week’s release following our normal process.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.