documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Cannot populate articles with category name

Open amjadniazi48 opened this issue 4 years ago • 0 comments

Bug report

Describe the bug

I can populate articles with categories using the following url http://localhost:1337/api/articles?populate=*

But if I use following request as mentioned in the documentation it shows the internal server error

http://localhost:1337/api/articles?populate=category.name

Expected behavior

It should give me the category name only with articles

Screenshots

populate_1 populate_2

Code snippets

If applicable, add code samples to help explain your problem.

System

  • Node.js version: 14
  • NPM version: 7.5.2
  • Strapi version: beta 7
  • Database: postgres
  • Operating system: windows 10

amjadniazi48 avatar Oct 30 '21 15:10 amjadniazi48