Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TriggerLog DB error (data is not valid JSON) #687

Closed
Klakurka opened this issue Sep 24, 2023 · 0 comments · Fixed by #689
Closed

TriggerLog DB error (data is not valid JSON) #687

Klakurka opened this issue Sep 24, 2023 · 0 comments · Fixed by #689
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Klakurka
Copy link
Member

Found this error on the DB (TriggerLog):

{"errorName":"Error","errorMessage":"Data is not valid JSON.","errorStack":"Error: Data is not valid JSON.\n at parseTriggerPostData (/home/node/src/.next/server/chunks/9895.js:431:11)\n at postDataForTrigger (/home/node/src/.next/server/chunks/1488.js:2828:118)\n at /home/node/src/.next/server/chunks/1488.js:2801:11\n at async Promise.all (index 0)\n at async executeAddressTriggers (/home/node/src/.next/server/chunks/1488.js:2791:3)\n at async /home/node/src/.next/server/chunks/1488.js:1060:15\n at async Promise.all (index 0)\n at async ChronikBlockchainClient.processWsMessage (/home/node/src/.next/server/chunks/1488.js:1038:7)","triggerPostData":"","triggerPostURL":""}

It shouldn't be possible to send invalid JSON but perhaps a Chronik error caused it?

@Klakurka Klakurka added the bug Something isn't working label Sep 24, 2023
@Klakurka Klakurka added this to the Phase 2 milestone Sep 24, 2023
Klakurka added a commit that referenced this issue Sep 26, 2023
[#687] fix: disallow empty string for post data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants