Problem with Jotform node

Describe the problem/error/question

I’ve been using the Jotform nodes in 2 workflows to receive feedbacks from a community and post it to Airtable. Everything was workin fine for a few months, but yesterday I’ve noticed that both workflows were disabled and my attempt to turn them on has caused an error.

What is the error message (if any)?

## Workflow could not be activated:

*Just a moment... Enable JavaScript and cookies to continue (function(){ window._cf_chl_opt={ cvId: '2', cZone: 'eu-api.jotform.com', cType: 'managed', cNounce: '28807', cRay: '7d29f3d5bc6718fd', cHash: 'eb356022fb9799c', cUPMDTk: "\/form\/231016600816041\/webhooks?__cf_chl_tk=_pClfu6IjYHCff05gwm.liJ8XoFf0Kreo8EnevSIawA-1685984223-0-gaNycGzNDLs", cFPWv: 'g', cTTimeMs: '1000', cMTimeMs: '0', cTplV: 5, cTplB: 'cf', cK: "", cRq: 
...
...
.history.replaceState(null, null, ogU); }; } document.getElementsByTagName('head')[0].appendChild(cpo); }());

Wordflow:

UPD: just noticed this issue with creds:

Problem running workflow

Forbidden - perhaps check your credentials?

Show Details

JotForm Trigger1: Just a moment... <div class="main-co...</p> </details> 

Information on your n8n setup

  • n8n version: n8nio/n8n:latest
  • Database (default: SQLite): SQLite
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 23.04
  • Cloud provider: DigitalOcean

Hey @organicnz,

Can you try the workflow below and let me know what the output is, You will need to update the API Key value and before sending the output back make sure you remove anything sensitive. If it gives you a message about the region update the URL to https://api.jotform.com/user/forms

I suspect what has happened is Cloudflare have added a lot of Digital Ocean IPs to their ban list but this will let us know if there is anything else going on.

2 Likes

Hey @Jon,

Thank you very much for your reply :slight_smile:

Hmm, that would be bad move of Clouddlare.

Trying to import your workflow but it shows an error. Could you pls provide a screenshot of the configured HTTP Request node? :slight_smile:

Also just noticed that Jotform does show a blank screen when I turn on WireGuard VPN that’s deployed on the same DigitalOcean VPS :slight_smile:

Hmm, the API request doesn’t return anything at both regions :))

UPD: reloaded the browser page and executed again:

ERROR: Forbidden - perhaps check your credentials?

Hey @organicnz,

I was using the latest version of n8n, I suspect you are on an older version of latest and have not pulled in a new release for a few weeks :slight_smile:

The forbidden sounds like the API key value is not correct, Double check that ideally we are looking for something like this…

1 Like

Thank you mate :slight_smile:

I’ve also created a second APIKEY hehe :slight_smile:

Could you pls try out this curl command: curl -H "Authorization: APIKEY 9317xxxxxxxx" https://eu-api.jotform.com/user/forms. I’m just wondering what your output will be :slight_smile:

Heading to check a Docker image then :slight_smile:

UPD:
Previuos image: n8nio/n8n latest 0df06c996d09 2 months ago 596MB
Curent image: n8nio/n8n latest 3d4954971ae9 21 hours ago 525MB

curl -X GET "https://eu-api.jotform.com/user/forms?apiKey={9317xxxxxxxx}"

<!DOCTYPE html>
<html lang="en-US">
<head>
    <title>Just a moment...</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="robots" content="noindex,nofollow">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">


</head>
<body class="no-js">
    <div class="main-wrapper" role="main">
    <div class="main-content">
        <noscript>
            <div id="challenge-error-title">
                <div class="h2">
                    <span class="icon-wrapper">
                        <div class="heading-icon warning-icon"></div>
                    </span>
                    <span id="challenge-error-text">
                        Enable JavaScript and cookies to continue
                    </span>
                </div>
            </div>
        </noscript>
        <div id="trk_jschal_js" style="display:none;background-image:url('/cdn-cgi/images/trace/managed/nojs/transparent.gif?ray=7d303d9a8ab02e13')"></div>
        <form id="challenge-form" action="/user/forms?apiKey=9317xxxxxxxx&amp;__cf_chl_f_tk=RtCCI1lG616yemBGjRfPcdZ7zMDLPWARoHlLIN6AsPc-1686050159-0-gaNycGzNCrs" method="POST" enctype="application/x-www-form-urlencoded">
            <input type="hidden" name="md" value="94OPYAJyZV5Ooa2YrVY8xgI_5DJSrTXWb_JRppYXLoE-1686050159-0-AbRgK7BqwBPfrELb9j4K9ICIlXerDggZe9DujrVh_9QgWIJDF5JrsANF44YCie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GhEOQa5Cv76GgIEUf7TeHvgl5bbP8R_HATI4TL8S88YWg87hubeZHfKJK4LnFIMaF2Mx1dv4mPQhB8AVYqZi-kq81ASjyHlu1DrdEMo9V5BeOMFmde8vozvnmueU_RslrPotU8TUrJWa50AVy6_xYVrudO20DOKPVt45rjaL-BBMMZRYO-DY4AKEz9dd0jS06ttbBedGZc9GX8K2vUN4VEzs2K9qgiSwoa_cjCv_zUiwYdmtdpFttent48HhH3PqNHJgLHTo_nH1-FDlE4azcBK6D3bw8_779PIH06fww3IQ8FDxHfoxd9HSIL0YVptl2r5QvJCy1H3vBjALfdOzrErgnuEKADCsJgwy0DnSIsRTo0rJAzgDGEOEXEDaAUAhqW8Wx_CPzT5V909ZNJGigz5Nw5D3s4x4pGMZ5cwLV75ojL3wek3K77eXjDcmw4yzWNEJjxzrQXIQbg">
        </form>
    </div>
</div>
<script>
    (function(){
        window._cf_chl_opt={
            cvId: '2',
            cZone: 'eu-api.jotform.com',
            cType: 'managed',
            cNounce: '89378',
            cRay: '7d303d9a8ab02e13',
            cHash: 'b0b1eed86f5767b',
            cUPMDTk: "\/user\/forms?apiKey=9317xxxxxxxx&__cf_chl_tk=RtCCI1lG616yemBGjRfPcdZ7zMDLPWARoHlLIN6AsPc-1686050159-0-gaNycGzNCrs",
            cFPWv: 'g',
            cTTimeMs: '1000',
            cMTimeMs: '0',
            cTplV: 5,
            cTplB: 'cf',
            cK: "",
            cRq: {
                ru: 'aHR0cHM6Ly9ldS1hcGkuam90Zm9ybS5jb20vdXNlci9mb3Jtcz9hcGlLZXk9OTMxNzgyODliMzFhZDBkY2JlNDZiMmI3ODQ1MjVmNTM=',
                ra: 'Y3VybC83Ljg1LjA=',
                rm: 'R0VU',
                d: '0qOnvRMeX7juZT8Wx28WjB0SSFfNlkmoiUoomSFziaU7c0vR3OMeX8DP61yJtq57j+/cdWg6+xINw1tjLMU3UP5F6RD96rFJwa35BXrqJw+OuMU3ITbgaRlf4cHyS7B/oftGYs6tQ7hVeAreVppRBnxUNYYW/81wrMwOMPXYkbk8FERyylRUrPJtxoQK/t6qpR+Y+AbLZsZoPGBdOInYyjn9hzX7zMN5Qdebg6nU+JLLSJX6sTS1IAPQtJTvtpaiQTZInAEPimbvNjJJV/iibyjdtiu0OyOlAJ/kGkJAjcOXf0SyqGW3hW3mLeLsoTOOJK81IRGWeoC4/u5KxBf0bS7ATIGmutA3GlX8NtxNXaQXvR3O7jylzvciHcMks9XFWfYckNjFPjzDj9f6dQiLT4b7taMIqir2o+MHszeuVo+jQLvxvam0VzT7Ymk4hX7cEsaxbowSNszHKBLnN+yHoRntAyPgByAK08+jyXcJDLc6v6sIPECI8wTQuNJiBz3CyTwYk/ioprOKC0bdhr6ZPssZUTJeeoDNwojeppS/5Wdx71C7mHBpPrsxZZlU1NMoibFSXGFR+yiNdubLg435y967JQi5IwKuftU/gSotK6UvmpJ0E7TCUjCWDr+LMTsJ',
                t: 'MTY4NjA1MDE1OS43NzUwMDA=',
                m: 'owNRH3epKA/mB/e0GlooGo80siM+h3BWzItgci/eEco=',
                i1: '9yKTd+Mo+CxapX5ZoJq/jg==',
                i2: 'yKalweXVa3lRgh16Kqi/LA==',
                zh: 'oosnje7FF+D+3WzN8oswAUxUKx0ZakEfHUVh70HW3iM=',
                uh: 'mCJLfpuM1YMd7h1ybZxAm1O1shTFBrSTQFA73dsrTvw=',
                hh: 'NMHWl6cIsP5dtjMFwc7XZdbXdSHskXdTa0yb14OuVvE=',
            }
        };
        var trkjs = document.createElement('img');
        trkjs.setAttribute('src', '/cdn-cgi/images/trace/managed/js/transparent.gif?ray=7d303d9a8ab02e13');
        trkjs.setAttribute('alt', '');
        trkjs.setAttribute('style', 'display: none');
        document.body.appendChild(trkjs);
        var cpo = document.createElement('script');
        cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/managed/v1?ray=7d303d9a8ab02e13';
        window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;
        window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, location.href.length - window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;
        if (window.history && window.history.replaceState) {
            var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;
            history.replaceState(null, null, "\/user\/forms?apiKey=9317xxxxxxxx&__cf_chl_rt_tk=RtCCI1lG616yemBGjRfPcdZ7zMDLPWARoHlLIN6AsPc-1686050159-0-gaNycGzNCrs" + window._cf_chl_opt.cOgUHash);
            cpo.onload = function() {
                history.replaceState(null, null, ogU);
            };
        }
        document.getElementsByTagName('head')[0].appendChild(cpo);
    }());
</script>


</body>
</html>

Successfully updated a container from a new image. Same result though :slight_smile:

Hey @organicnz,

If I modify your curl command to have the correct header I get the below…

curl -H "APIKEY:163xxxxxxx" https://eu-api.jotform.com/user/forms
{"responseCode":200,"message":"success","content":[],"duration":"26.08ms","resultSet":{"offset":0,"limit":20,"count":0},"limit-left":992}

It sounds like the issue is not related to n8n and is something between Jotform, Digital Ocean and Cloudflare.

1 Like

Thank you for your tremendous help. Yeah, definitely. I’ll report it to a Jotform tech support :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.