$function not allowed in this atlas tier

Hello,
I’m trying to embedd javascript function as an $addFields aggregation, but Atlas shows me this error : $function not allowed in this atlas tier.
Indeed, I’m using the free tier for development stage; So what is the minimum tier to use te be able to execute such server side scripting ?

Thanks in advance,
Farouk.

1 Like

Please read the following answer.

https://www.mongodb.com/community/forums/t/can-i-use-function-expressions-in-project/130074/2?u=steevej

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.