We are trying to call a custom endpoint from a Studio flow using the GetRESTProxy function, but we keep hitting an INVALID_FUNCTION error. The snippet looks syntactically correct to me, and we have verified the endpoint works via Postman. Here is the exact code block we are using in the ASSIGN step:
restProxy = GetRESTProxy("https://api.example.com/data")
response = restProxy.GET("/items")