Skip to content

Channels: bad enpoints return 500 status code #54

@CynthiaTerrazas

Description

@CynthiaTerrazas

Description


When we try to delete a specific channel and put a point instead of an ID the response returns 500 status code with "Internal Server Error" message.

Environment


  • An Notifier Server installed with version 1.0
  • Operating System and version: Windows Server 2012 R2

Requirements


  • Rest Client: E.g. Postman.

API

  • Method: DELETE
  • Endpoint: /api/channel/id

Steps to Reproduce


  1. Open Postman.
  2. In Postman select 'DELETE' method for URL.
  3. In Postman Enter the endpoint to send a notification.. E.g. http://128.0.0.1/api/channels/.
  4. Click on Send button.
    Receive:
    status 500

Actual Result


The status code is 500 "Internal Server Error"

Expected Result


The status code should be 400 "Bad Request"

Cynthia Victoria terrazas Gutierrez
Fundacion Jala

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions