I have two collections of data on my site - the first is an open site collection, and the second is a form that members only can edit. I followed the tutorial https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions to start getting an API setup, but I ran into a hiccup: I am successful in querying the open site collection data, but when I try the member only form, I get a 500 server error back. I guess it makes sense that since this particular content collection is for members only there should be some added configurations needed in my http-functions.js code, but I can’t figure it out.
How can I expose a content collection of type “Members-Only Form Submission” to the API?