Add 3rd party API like Quickbase

Is it possible to write back to quickbase with their API?

import QuickBase from "quickbase";

const quickbase = new QuickBase({
      realm: 'relm',
      appToken: 'key',
      userToken: 'user_key'
  });

quickbase.api('API_EditRecord', {
    dbid: 'id',
    rid: 100,
    fields: [
      { name: 'column_name', value: '1234'}
    ],
    disprec: false,
    fform: false,
    ignoreError: false,
    msInUTC: true
  }).then((results) => {
    console.log("Successful quickbase call", results);
  }).catch((error) => {
    console.log("Error during quickbase update", error);
  });

Should this work? It doesnt btw… Dont get any log messages. Not sure where to check for more info on why this doesnt work.

Thought maybe cors for some reason so tried quickbase-cors but same result.

EDIT: This is what im trying to do from the lambda function serverless created. Got a webhook working that when something changes in quickbase my db in AWS is updated. Once updated I want to write back to quickbase but this part isnt working from lambda.
(My workaround is doing it from the frontend which is fine but would prefer it to be in aws rather)

Any help will be appreciated.

Yeah 3rd part APIs should work fine. I’m not familiar with the Quickbase SDK but can you check the network tab in your browser’s developer console to see if any requests are being made?