Skip to content

Conversation

@MosesMuiru
Copy link
Contributor

Reason for error occurrence:
The API is not designed to handle any other content-type other than application/json. Hence the the server crashes.

Solution:
filter the content type and give a more descriptive error than (500). To 415

image

@github-actions
Copy link

📦 To trigger a firmware build, comment /build below.
To build a specific target, comment /build <target> with on of the following targets
Valid target names:

  • ex_nvr_rpi4
  • ex_nvr_rpi5
  • giraffe

You can also specify a custom version: /build <target> version=<version>
Examples:
/build version=1.0.0-test
/build ex_nvr_rpi5 version=1.0.0-test.123

If no version is specified, one will be generated automatically.

@MosesMuiru MosesMuiru requested a review from gBillal September 24, 2025 16:37
@MosesMuiru MosesMuiru changed the title Allow generic events of of ct json only Allow generic events of of content type json only Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generic Events Webhook: Accept empty POST request(s) body

1 participant