Discrepancy in API Documentation, Response 200 with Non-Empty errors

Hello Cloudflare Community, I’m using the Create Ruleset Rule API and noticed an inconsistency between the documentation and the example response provided. According to the Response section of the docs, when the API returns a 200 status code, the errors field should be empty. However, in the Response Example, the errors field contains an error message despite the status being 200. This raises a few questions: If the status is 200 but errors contains errors, should I treat the operation as successful? Is this a documentation oversight, or does the API intentionally behave this way to indicate partial success?
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?