Clay Icon
  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    👋 Hey there! Our support team has got your message - we'll be back in touch within 24 hours (often sooner!). If you haven't already, please include the URL of your table in this thread so that we can help you as quickly as possible!

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    saw Ryan's post - I created a new column and pasted over the values, but still no dice. all my variables are either text or "links" (which I imagine both are treated as string)

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    could you share a screenshot of your input body?

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·
  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    changed one of those variables that were wrong lol (title instead of email)

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    try adding double quotes around the dynamic columns

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    kk

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    if that still does not work try adding double quotes around dynamic columns except the salesforce user id

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    didnt work - also sf ID is still a string

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    can you try removing quotes around salesforce ID?

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    i di d

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·
  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    can you create a text column, click on edit column and copy paste this body in there and then pass that text column directly into HTTP body?

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    also, does all the cells that are dynamic has values in it or not?

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    all of them have values yes - are you asking to replace dynamic values with string values directly?

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    no, create a new text column click on edit column then copy paste this whole body in there.

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    got it

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    error, but now i see things are double double quoted

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    yes, you gotta fix them then

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    okay so back to square one basically but offloading the tokens in http api as text

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    oh I see a possible issue

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    the variable 'sample_text' includes double quotes as part of the string

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    okay that wasnt it

  • Avatar of Muhammad S.
    Muhammad S.
    ·
    ·

    huddle?

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    thanks - appreciate it

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    looks like even though certain fields are considered "text", Clay does not automatically put double quotes around them (for example, phone numbers). This was also the case for the email type. Thanks for fixing this muhammed!

  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Hey, thanks for reaching out Vlad - If it's numbers, then yes no quotation mark. This is common for all HTTP API body :) Great job Muhammad ! :)

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    That's the problem, the field type is text so it should all be considered a string

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    and it's inconsistent how clay is treating text fields - unless im missing something obvious

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    similar to the email field type - that should be considered a string and automatically contain the double quotes like other strings

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    the highlighted fields are ones I had to include double quotes, but you can see that the field types are text. the other text field types I did not need to do this

  • Avatar of Bo (.
    Bo (.
    ·
    ·

    Hey Vlad 👋, It looks like you may have copied this body from an older version of our HTTP API. In the body, when clicking on the gear icon and selecting Formula, you’ll notice it’s still using the outdated JSON.stringify. However, we should be using` Clay.formatForJSON` instead. I’ve already made the change in a new column, and everything is working as expected now 🎉. The only issue left is with the mobile phone number formatting, but you can easily resolve that by using the Normalize Phone Number formatter. Here’s the link with more details on how to implement it: 👉 Normalize Phone Number with Clay Let me know if you have any other questions or need further assistance! 😊

  • Avatar of Vlad T.
    Vlad T.
    ·
    ·

    Bo! Thanks for sharing that, I understand now why I was having the intermittent issues. Can I DM you a question unrelated to this? Feel free to close this 'case' 😄

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Hey there - just wanted to check in here to see if you needed anything else! Feel free to reply back here if you do.

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

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