I saw the following information in the browser debug console when trying to run createContact from the backend using wix-crm-backend. I find the RequiredRole: Anonymous User quite interesting.
wixCodeNamespacesAndElementorySupport.min.js:3 Uncaught (in promise) Error: server responded with 403 - {“message”:“permission_denied, details: {"RequiredRole":"Anonymous User","GivenIds":"50a4b8aa-1eea-…, 50a4b8aa-1eea-…"}”,“details”:{“givenids”:“50a4b8aa-1eea-…, 50a4b8aa-1eea-…”,“requiredrole”:“Anonymous User”,“error”:“permission_denied”,“category”:“api_error”}}
at Object. (wix-crm-backend/src/contacts.ts:58:11)
at Generator.throw ()
at rejected (wix-crm-backend/dist/src/contacts.js:5:65)
at bound (domain.js:301:14)
at runBound (domain.js:314:12)
at tryCatcher (node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/main/promise.js:510:31)
at Promise._settlePromiseAt (node_modules/bluebird/js/main/promise.js:584:18)
at Async._drainQueue (node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues (node_modules/bluebird/js/main/async.js:15:14)
at runCallback (timers.js:789:20)
at tryOnImmediate (timers.js:751:5)
at processImmediate [as _immediateCallback] (timers.js:722:5)