I previously had deployed my function as an HTTP function (https.onRequest), then switched to a callable function (https.onCall). Firebase did not recognize this change.
I solved the problem by removing the function and deploying without it, then putting the function back in and deploying again.