Unable to configure and test iOS push notifications

I’m trying to configure iOS push notifications in our React Native app, but receiving MISSING_PROVIDER_SUPPORT error.

The provider was configured here:

The RN library was configured and I’m triggering like this:

await Courier.sendPush({
      authKey: 'myAuthKey',
      userId: 'my@email.com',
      title: 'Chirp Chrip!',
      body: 'Hello from Courier 🐣',
      providers: [CourierProvider.APNS],
    });

The request received:

{
  "message": {
    "to": {
      "user_id": "my@email.com"
    },
    "content": {
      "title": "Chirp Chrip!",
      "body": "Hello from Courier 🐣"
    },
    "routing": {
      "channels": [
        "apn"
      ],
      "method": "all"
    }
  }
}

The error:

{
  "reason": "Information required by the provider was not included.",
  "type": "MISSING_PROVIDER_SUPPORT"
}

What am I missing here?

I have tried using curl like that, by it did not work:

Created a template with an iOS push channel and sent it using the templateId:

curl --request POST \
  --url https://api.courier.com/send \
  --header 'Authorization: Bearer testKey' \
  --header 'Content-Type: application/json' \
  --data '{
    "message": {
        "to": {
            "user_id": "my@email.com"
        },
        "template": "F6S245ECQVM7AGQ9E6SVJ44F1KF6",
        "routing": {
            "method": "all",
            "channels": [
                "apn"
            ]
        }
    }
}'

Tried

curl --request POST \
  --url https://api.courier.com/send \
  --header 'Authorization: Bearer testKey' \
  --header 'Content-Type: application/json' \
  --data '{
    "message": {
        "to": {
            "user_id": "my@email.com"
        },
        "content": {
            "title": "Hey there 👋",
            "body": "Have a great day 😁"
        },
        "routing": {
            "method": "all",
            "channels": [
                "apn"
            ]
        }
    }
}'