Hi we are stuck at sending requests to ERPNext
What happened (You are seeing this because you are an admin):
Starting POST request to http://c1e6dd81.ngrok.io/api/resource/Sales Invoice
Received 417 code from http://c1e6dd81.ngrok.io/api/resource/Sales Invoice after 1821ms
Received content "<!DOCTYPE html>
<!-- Built on Frappe. https://frappe.io/ -->
<html lang="en">
<head>
<meta charset="
Unexpected token < in JSON at position 0
Console logs:
Stack trace:
Object.parse (native)
Object.promise.then (/var/task/creates/create_invoice.js:56:46)
bound (domain.js:280:14)
Object.runBound (domain.js:293:12)
Object.tryCatcher (/var/task/node_modules/bluebird/js/release/util.js:16:23)
Promise._settlePromiseFromHandler (/var/task/node_modules/bluebird/js/release/promise.js:512:31)
Promise._settlePromise (/var/task/node_modules/bluebird/js/release/promise.js:569:18)
Promise._settlePromise0 (/var/task/node_modules/bluebird/js/release/promise.js:614:10)
Promise._settlePromises (/var/task/node_modules/bluebird/js/release/promise.js:693:18)
Async._drainQueue (/var/task/node_modules/bluebird/js/release/async.js:133:16)
Async._drainQueues (/var/task/node_modules/bluebird/js/release/async.js:143:10)
Immediate.Async.drainQueues (/var/task/node_modules/bluebird/js/release/async.js:17:14)
runCallback (timers.js:672:20)
tryOnImmediate (timers.js:645:5)
processImmediate [as _immediateCallback] (timers.js:617:5)
Has anyone tried logging/displaying the JSON that is being sent?