when running a function from the CLI w/o an identity, it correctly calls it but when adding an identity, it fails w/ the following.
convex run --identity '{ subject: "user|pass", issuer: "https://[…].convex.site" }' file:function
✖ Failed to run function "file:function":
Error: [Request ID: 24e2da681a16b355] Server Error
Could not find function for 'file:function'. Did you forget to run `npx convex dev`?
Available functions:
• file:function
[...]
tested w/ an identity that works when used in the "Act as a user" field in the dashboard.
btw, an empty identity makes it fails in the same manner
convex run --identity '{}' file:function
when running a function from the CLI w/o an identity, it correctly calls it but when adding an identity, it fails w/ the following.
convex run --identity '{ subject: "user|pass", issuer: "https://[…].convex.site" }' file:functiontested w/ an identity that works when used in the "Act as a user" field in the dashboard.
btw, an empty identity makes it fails in the same manner
convex run --identity '{}' file:function