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

"Invalid JSON for DATA setting" #35

Open
stevenwbuehler opened this issue Aug 20, 2022 · 2 comments
Open

"Invalid JSON for DATA setting" #35

stevenwbuehler opened this issue Aug 20, 2022 · 2 comments

Comments

@stevenwbuehler
Copy link

The application is telling me that the following is invalid JSON for sending a "Print Done" webhook (sending to a Google Apps Script to add a row to a Google Sheet):

{
    "sheetid": "1L3Kl8TPWNtI1_zXaj8U77OYhoZOcajAozUI-LNDijC4",
    "row": [
        "=localDateTime(@currentTime)",
        "@job.file.name",
        "@jobfile.size",
        "=TIME(0,0,@job.estimatedPrintTime)",
        "=TIME(0,0,@job.lastPrintTime)",
        "@job.filament.tool0.volume",
        "@job.filament.tool0.length",
        "@meta.analysis.dimensions.width",
        "@meta.analysis.dimensions.depth",
        "@meta.analysis.dimensions.height"
    ]
}
@holgi
Copy link

holgi commented Jan 1, 2023

I had the same problem. It seems that saving the changed settings does not work reliably. I edited OctoPrint's config.yaml manually to get the webhooks working as I wanted.

@derekantrican
Copy link

The settings save issue should be resolved in the latest version (3.2.0) via derekantrican#1

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

No branches or pull requests

3 participants