London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Status 500 is returned when get content with invalid GUID

Fixed in

EPiServer.ContentDeliveryApi 2.18.0

(Or a related package)

Created

Oct 14, 2020

Updated

Jan 15, 2021

State

Closed, Fixed and tested


Description

Steps to reproduce:

  1. Perform this request:
GET http://localhost:9100/api/episerver/v2.0/content/cf0ddc82-6cb4-48b4-ad28-af9e23df075g

Expected result:

Status 400 is returned with message: the Guid in endpoint is invalid Guid.

Actual result:

Status 500 is returned.