Subscription retries not working
# support
l
I have this `Subscription`:
Copy code
json
{
  "resourceType": "Subscription",
  "status": "active",
  "reason": "Second subscription for testing",
  "criteria": "Person",
  "channel": {
    "type": "rest-hook",
    "endpoint": "..."
  },
  "id": "21f33923-220b-479d-a224-40d45fb81514",
  "meta": {
    "versionId": "72731b38-4bce-481d-b848-61ad84037d04",
    "lastUpdated": "2023-05-02T19:33:21.650Z",
    "author": {
      "reference": "Practitioner/f22dc77f-61cf-4b90-a784-603e50c62d80",
      "display": "Medplum Admin"
    },
    "project": "0ca9b9d5-c8fb-439e-8241-98d7b4f485d2",
    "compartment": [
      {
        "reference": "Project/0ca9b9d5-c8fb-439e-8241-98d7b4f485d2"
      }
    ]
  },
  "extension": [
    {
      "url": "http://medplum.com/fhir/StructureDefinition/subscription-max-attempts",
      "valueInteger": 3
    }
  ]
}
which should limit retries to 3, but it continues anyway. Am I missing something?
r
Apologies @ljnic - this was a bug in our docs. The correct URL for the extension starts with
https:
https://medplum.com/fhir/StructureDefinition/subscription-max-attempts
We will fix the docs ASAP
l
ah thought I tried that and wasn't sure if it mattered since the endpoint doesn't really exist
seems to work though, thank you!
156 Views