Skip to main content
Best answer

Invalid Json Message , linebreaks?


Forum|alt.badge.img

Hi, 

I’m needing some help on what I think should be pretty simple!

I’m using a zapier webhook as below:  however it throughs a invalid json message.  

 

Now I think this is due to the line breaks in the input fields, as you can see hopefully in this test case.

What I’mm trying to figure out with no luck is how to handle / strip the line breaks so the json is valid.  I’ve tried the formatter feature but I can’t seem to get that to work correctly.  Any help very much appreciated.

 

i’m trying to post this to https://app.swaggerhub.com/apis/ProdPad/prodpad/1.1.4#/Ideas/PostIdeas

Thanks

 

Best answer by Troy TessaloneBest answer by Troy Tessalone

@ChrisB123 

Options to try:

View original
Did this topic help you find an answer to your question?

3 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi ​@ChrisB123 

FYI: ChatGPT is a great resource for this type of troubleshooting.

 

 

 

{
  "title": "50 - Tribepad- Test Idea above score",
  "description": "This is the description of the idea I have raised.\n\nIt has information and lots of it.",
  "state": "active",
  "target_outcomes": "outcomes",
  "business_case": {
    "problem": "I have a problem to solve. Can you solve it?",
    "value": "lots of value"
  }
}

 


Forum|alt.badge.img
  • Author
  • Beginner
  • 12 replies
  • February 21, 2025

Hi Thanks, but I can't work out how to escape them in zapier, not sure which feature to use


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30897 replies
  • Answer
  • February 21, 2025

@ChrisB123 

Options to try: