Strapi API giving 403 Forbidden Error

Hi
Greetings of the day!

I have added a new collection type in strapi and when I try getting data API is giving a 403 error.

We need to fix this ASAP.

Hello Sir,
Have you enabled your controller in your Strapi Admin:
Settings → Roles → Public → Name-of-your-Collection-Type-Section?

Cheers,
Olaf

6 Likes

Yeah, It’s resolved.
Thanka mate.
Love this community

1 Like

Please I still can’t solve this problem. Any assistance is welcome. Thank you.

My first day using strapi and this forum is the best, thank you

Hi,
I’m trying to solve the same problem, but in my case it happens with a single type.
Now, none of my single types appear in that section, then I’m struggling querying any of them.
Why is this happening?

thanks mate