I'm trying to access the custom fields of my invoices and I'm getting the following error:
Any ideas on how to solve this?
To help debug the issue:
display the values in invoiceID and test2 and make sure they are not empty or zoho numbers (rather than strings)
invoiceID
test2
info invoiceID; info test2;
Try running the same url in a browser and/or curl to see if the behavior is the same or successful.
Try putting a 'try/catch' around the invokeurl cmd. Sometimes (but not always) the catch(err) will report more specific error information.
try { webhooktest = invokeurl [ url: "https:example.org?invoice_id=" + invoiceID + "&tips_ncf=" + test2 ] info "Webhooktest: [" + webhooktest + "]"; } catch(err) { info err; }
Copyright © 2021 Jogjafile Inc.
To help debug the issue:
display the values in
invoiceID
andtest2
and make sure they are not empty or zoho numbers (rather than strings)Try running the same url in a browser and/or curl to see if the behavior is the same or successful.
Try putting a 'try/catch' around the invokeurl cmd. Sometimes (but not always) the catch(err) will report more specific error information.