Clay Icon
  • Avatar of Channeled
    Channeled
    APP
    ·10 months ago·

    👋 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.
    ·10 months ago·

    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.
    ·10 months ago·

    could you share a screenshot of your input body?

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·
  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

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

  • Avatar of Muhammad S.
    Muhammad S.
    ·10 months ago·

    try adding double quotes around the dynamic columns

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    kk

  • Avatar of Muhammad S.
    Muhammad S.
    ·10 months ago·

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

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    didnt work - also sf ID is still a string

  • Avatar of Muhammad S.
    Muhammad S.
    ·10 months ago·

    can you try removing quotes around salesforce ID?

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    i di d

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·
  • Avatar of Muhammad S.
    Muhammad S.
    ·10 months ago·

    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.
    ·10 months ago·

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

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

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

  • Avatar of Muhammad S.
    Muhammad S.
    ·10 months ago·

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

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    got it

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    error, but now i see things are double double quoted

  • Avatar of Muhammad S.
    Muhammad S.
    ·10 months ago·

    yes, you gotta fix them then

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

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

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    oh I see a possible issue

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

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

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    okay that wasnt it

  • Avatar of Muhammad S.
    Muhammad S.
    ·10 months ago·

    huddle?

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    thanks - appreciate it

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    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 (.
    ·10 months ago·

    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.
    ·10 months ago·

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

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

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

  • Avatar of Vlad T.
    Vlad T.
    ·10 months ago·

    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.
    ·10 months ago·

    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 (.
    ·10 months ago·

    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.
    ·10 months ago·

    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
    ·10 months ago·

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

any way to debug this? | Clay