#Not finding Function? But i can see it in the dashboard...

7 messages · Page 1 of 1 (latest)

full bison
#

Air-Alert-Starter $ npx convex run getMaskRecommendation '{"latitude": 37.7749, "longitude": -122.4194}'
✖ Failed to run function "getMaskRecommendation":
Error: [Request ID: 2bf512aecab915c6] Server Error
Could not find function for 'getMaskRecommendation'. Did you forget to run npx convex dev or npx convex deploy?

I can see the function in my dashboard in both production and development....

Triggering the same error when i try to run my expo app.

Thanks this is driving me nuts

proud mirage
#

hi! sorry for the frustration. the name of the function is definititely getMaskRecommendation, but the function path is that fixed-width font identifier below: getMaskRecommendation:getMaskRecommendation

#

that's what you need to pass on the command line, the full path to the function

#

this part

full bison
#

Ahhh thank you!

#

First time user and enjoying convex a lot so far!