The Wayback Machine - https://web.archive.org/web/20200717065817/https://github.com/topics/jamstack
Skip to content
#

jamstack

Here are 650 public repositories matching this topic...

amrsalama
amrsalama commented Apr 24, 2020

Describe the bug
Find-one endpoint /resource/:id responses with 500 status code instead of 404, this happens with MongoDB setup.

Steps to reproduce the behavior

  1. Setup Strapi with MongoDB configuration.
  2. Create a collection (resource).
  3. Give findOne access to the public.
  4. Send a request to /resource-name/any-invalid-id.

Expected behavior
404 response.

**Sys

agairing
agairing commented Apr 17, 2020

Describe the bug
If you use github as backend the following basic setup is required:

Improve this page

Add a description, image, and links to the jamstack topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the jamstack topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.