TobiasT
Convex Communityβ€’8mo agoβ€’
3 replies
Tobias

Clerk Error fetching 400

Hello, I followed a tutorial online, and they use convex and clerk, so it's my first time using convex. They make the authentication using clerk, however when I tried to hit npx convex dev, it keeps saying error fetching 400.

This is the line of code in auth.config.js:
const authConfig = {
providers: [
{
type: "clerk", // <-- must be "clerk"
domain: "", // your Clerk frontend domain
applicationId: "
", // your Clerk application ID
},
],
};

export default authConfig;

This is the error message:
βœ– Error fetching POST https://****************** 400 Bad Request: InvalidAuthConfig: Hit an error while pushing:
The pushed auth config is invalid: auth config file must include a list of provider credentials: data did not match any variant of untagged enum SerializedAuthInfo

I appreciate your help πŸ™
Was this page helpful?