Hello, just to be sure. Does the API always return...
# announcements
l
Hello, just to be sure. Does the API always return
features
field in this case: https://docs.growthbook.io/app/api#feature-definitions-endpoint So, just to be sure that it is reasonable to expect that even if the
status
is something else than
200
there would be empty
{}
for features?
Or what could be the HTTP status other than 200 without request failing with code higher than 400? Are there any cases that apply here?
f
Features are only returned with status code 200. It could in theory return a 5xx status code if something goes wrong on the infrastructure side. And 4xx if there's a network issue or invalid API key
👍 1