Skip to content

/api/event throws 500 for self-hosted instance #1570

Discussion options

You must be logged in to vote

This was fixed in 7a02aae

Previously we expected the props to be JSON-stringified. This means double-encoding like this:

{
	"name": "download",
	"url": "https://example.com/test1",
	"domain": "example.com",
	"props": "{\"document\": \"a.txt\"}"
}

This is quite ugly and suboptimal so I made a change where you can send them as part of the regular JSON payload. The fix is not released yet but in the meanwhile you can stringify the props before sending them.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gowthamgts
Comment options

@ukutaht
Comment options

@gowthamgts
Comment options

Answer selected by gowthamgts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1569 on December 29, 2021 10:41.