WordPress API “code”:”rest_no_route” with Custom Route

You’re using the wrong function. It’s register_rest_route() not register_rest_field().

tech