project_nextjs13_flexibble
project_nextjs13_flexibble copied to clipboard
Error: Unauthorized: {"response":{"data":null,"errors":[{"message":"Unauthorized"}],"status":200,"headers":{"map":{"access-control-allow-origin":"*","access-control-expose-headers":"*","content-length":"51","content-type":"application/json;charset=UTF-8","date":"Tue, 24 Oct 2023 03:56:14 GMT","vary":"origin, access-control-request-method, access-control-request-headers"}}},"request":{"query":"\n\tmutation CreateProject($input: ProjectCreateInput!) {\n\t\tprojectCreate(input: $input) {\n\t\t\tproject {\n\t\t\t\tid\n\t\t\t\ttitle\n\t\t\t\tdescription\n\n\n\t\t\t\tcreatedBy {\n\t\t\t\t\temail\n\t\t\t\t\tname\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n","variables":{"input":{"title":"qe","description":"eq","image":"http://res.cloudinary.com/depfldi7y/image/upload/v1698119773/q6aweuk8o2ryfxwgqvs1.png","components":"qe","liveSiteUrl":"https://goggle.com","githubUrl":"https://goggle.com","category":"Computer-Sci","createdBy":{"link":"user_01HD8R63T1D69XBD50FX5PAV33"}}}}} at makeRequest (webpack-internal:///(app-pages-browser)/./node_modules/graphql-request/build/esm/index.js:301:15) at async makeGraphQLRequest (webpack-internal:///(app-pages-browser)/./lib/actions.ts:22:16) at async handleFormSubmit (webpack-internal:///(app-pages-browser)/./components/ProjectForm.tsx:35:17) I check...
[next-auth][warn][EXPERIMENTAL_API] `getServerSession` is used in a React Server Component. https://next-auth.js.org/configuration/nextjs#getServerSession} https://next-auth.js.org/warnings#EXPERIMENTAL_API [next-auth][error][JWT_SESSION_ERROR] https://next-auth.js.org/errors#jwt_session_error jwt malformed { message: 'jwt malformed', stack: 'JsonWebTokenError: jwt malformed\n' + ' at module.exports [as verify] (webpack-internal:///(rsc)/./node_modules/jsonwebtoken/verify.js:72:21)\n'...
I've followed everything and I'm stuck on this. Any help would be appreciated! I've logged the Token and it is indeed invalid but I have no idea why. Might just...
Error

Having a hard time figuring out how to refresh JWT. It seems that it expired and now I'm not able to login to the dev website. Here is the errors...
I am having an issue getting token when creating a project and this function export const fetchToken = async () => { try { const response = await fetch(`${serverUrl}/api/auth/token`); return...
Error 500
i get a server 500 error post and the response says 'Failed to upload image on Cloudinary' i have been looking for a while where the mistake is but can't...
 This is the screenshot for my error. What should I do for me to get rid of this error? Thank you so much guys.
Error: Field 'category': Error { message: "Field 'category': Error { message: \"invalid type: null, expected a string\", extensions: None }", extensions: None }: {"response":{"data":null,"errors":[{"message":"Field 'category': Error { message: \"Field 'category':...