Dears, I have an issue with adding analytics rule....
# community-help
p
Dears, I have an issue with adding analytics rule. When I'm trying to insert analytics rule to existing collection via PHP library, I see an error: Not Ready or Lagging When I try to add it by curl, I see curl: (16) Error in the HTTP2 framing layer Server version: 27.1 My curl query:
Copy code
curl -k "<https://xxx:8108/analytics/rules>" \                                         
      -X POST \
      -H "Content-Type: application/json" \
      -H "X-TYPESENSE-API-KEY: xyz" \
      -d '{
        "name": "default_products_aggregation_rule",
        "type": "popular_queries",
        "params": {
            "source": {
                "collections": ["default_products_1734087120"]
            },
            "destination": {
                "collection": "default_products_aggregation"
            },
            "limit": 1000
        }
      }'