Home > OS >  Strapi returns meta-data but data is null
Strapi returns meta-data but data is null

Time:05-04

I’ve just started learning about Strapi, when I request data (GET) on an endpoint (/api/orders) it returns “meta data” but data is although orders exists in database enter image description here

CodePudding user response:

Make sure all your entries are not as draft and they are published, this may be a reason nothing is returned.

Strapi Draft and publish

  • Related