Clay Icon

Request for API Error Messages as a Column in Data

·
·

Hey Team, Is it possible t get error message of an api call as a column?

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·

    Yes, it's possible to get the error message of an API call as a column in Clay. After running your rows, the API response, including any error messages, will be contained in the HTTP column. You can add this as a separate column by clicking on one of the cells and selecting "Add to column". To troubleshoot API errors, it's helpful to see the exact JSON you're using. Could you please copy and paste the JSON from your HTTP API column into the chat? This will allow me to provide more specific guidance on any potential formatting issues.

  • Avatar of Owen C.
    Owen C.
    ·
    ·

    Hey Aman, thanks for reaching out! Unfortunately, you cannot map the error message out into its own field. Curious tho, what is the use case and what are you hoping to do if you could map this out into its own field?

  • Avatar of Aman
    Aman
    ·
    ·

    For example if I use kendo for email enrichment if email not found it gives 404 error creds are not enough it gives 405 error so I can filter out which error is because of which thing I have to click on error to check if it is 404 or 405

  • Avatar of Aman
    Aman
    ·
    ·

    Is there any solution or the answer is cant for now?

  • Avatar of Owen C.
    Owen C.
    ·
    ·

    Hey Aman, got it. As of right now this is not something you'd be able to do. Super cool feedback though, I've logged this for future reference for our team. Let me know how else I can help! :)

  • Avatar of Aman
    Aman
    ·
    ·

    Thanks for your response Have a nice day

  • Avatar of Owen C.
    Owen C.
    ·
    ·

    Of course!! Feel free to reach out with any other questions or concerns. :)

  • Avatar of Channeled
    Channeled
    APP
    ·
    ·