Clay Icon
  • Avatar of Joel B.
    Joel B.
    Ā·
    Ā·

    outputs shown are from a previous run.

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    Here are some troubleshooting steps to resolve JSON parsing issues:1. Check your string formatting: ā€¢ Ensure all text values are enclosed in double quotes ā€¢ Make sure dynamic column values are properly quoted 2. Review syntax carefully: ā€¢ Check for proper comma separation between keys ā€¢ Look for any extra spaces, colons, or brackets ā€¢ Remove any trailing commas at the end 3. Clean up potential hidden characters: ā€¢ Copy and paste your JSON into a plain text editor to spot any hidden characters ā€¢ Remove any unexpected characters that might have been includedFor additional validation, you can use a tool like JSONLint (jsonlint.com) to check your JSON formatting, or ask an LLM to help identify and fix formatting issues. Sources: FAQ: Why am I seeing the "failed to parse body" error when using the HTTP API enrichment? HTTP API integration overview | Documentation | Clay University HTTP API with JWT authentication | Documentation | Clay University

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    To resolve JSON parsing issues, here are the key troubleshooting steps:1. Check your string formatting: ā€¢ Ensure all keys and string values are enclosed in double quotes ā€¢ If using dynamic column values, make sure they're properly quoted ā€¢ For numbers with trailing zeros (like 0004), use quotes 2. Review syntax carefully: ā€¢ Verify proper comma separation between keys ā€¢ Check for extra spaces, colons, or brackets ā€¢ Remove any trailing commas 3. Clean up hidden characters: ā€¢ Copy and paste your JSON into a plain text editor to spot any hidden characters ā€¢ Remove any unexpected characters that might have been includedFor additional validation, you can use JSONLint (jsonlint.com) or ask an LLM to help identify and fix formatting issues. Sources: FAQ: Why am I seeing the "failed to parse body" error when using the HTTP API enrichment? HTTP API integration overview | Documentation | Clay University HTTP API with JWT authentication | Documentation | Clay University

  • Avatar of Joel B.
    Joel B.
    Ā·
    Ā·

    JSON lint showing as valid JSON

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    Even if your JSON is valid according to JSONLint, there might still be formatting issues specific to Clay's requirements. Here are the key things to check:1. For dynamic values: ā€¢ If using dynamic column values (/column), ensure they're properly quoted for strings ā€¢ Numbers with trailing zeros (like 0004) must be in quotes ā€¢ Regular numbers should not be in quotes 2. Check for these common issues: ā€¢ Verify all keys are surrounded by double quotes ā€¢ If combining plain text with dynamic column tags, create a Formula column first and then include that column (with quotes) in your body ā€¢ Look for any hidden characters by pasting into a plain text editorIf the issue persists after checking these items, you may want to request human support for further assistance. Sources: HTTP API integration overview | Documentation | Clay University HTTP API with JWT authentication | Documentation | Clay University

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    Great! I'm here if you need any further assistance.

  • Avatar of Channeled
    Channeled
    APP
    Ā·
    Ā·

    Hi Joel B.! This thread was recently closed by our Support team. If you have a moment, please share your feedback: