Closed FranciscoImanolSuarez closed 2 years ago
By logging in at http://localhost:3000/stage/m
Whether to stage "a" "m" or any other, it throws me the following error.
`adapter Not a browser. vnull [ { message: "Field 'isLive' doesn't exist on type 'StageRecord'", locations: [ [Object] ], path: [ 'query', 'allStages', 'isLive' ], extensions: { code: 'undefinedField', typeName: 'StageRecord', fieldName: 'isLive' } }, { message: "Field 'roomId' doesn't exist on type 'StageRecord'", locations: [ [Object] ], path: [ 'query', 'allStages', 'roomId' ], extensions: { code: 'undefinedField', typeName: 'StageRecord', fieldName: 'roomId' } } ] error - lib/cms-providers/dato.ts (38:10) @ fetchCmsAPI Error: Failed to fetch API 36 | // eslint-disable-next-line no-console 37 | console.error(json.errors);
38 | throw new Error('Failed to fetch API'); | ^ 39 | } 40 | 41 | return json.data;`
Do you think they can help me? I think the problem is in DATOcms
By logging in at http://localhost:3000/stage/m
Whether to stage "a" "m" or any other, it throws me the following error.
`adapter Not a browser. vnull [ { message: "Field 'isLive' doesn't exist on type 'StageRecord'", locations: [ [Object] ], path: [ 'query', 'allStages', 'isLive' ], extensions: { code: 'undefinedField', typeName: 'StageRecord', fieldName: 'isLive' } }, { message: "Field 'roomId' doesn't exist on type 'StageRecord'", locations: [ [Object] ], path: [ 'query', 'allStages', 'roomId' ], extensions: { code: 'undefinedField', typeName: 'StageRecord', fieldName: 'roomId' } } ] error - lib/cms-providers/dato.ts (38:10) @ fetchCmsAPI Error: Failed to fetch API 36 | // eslint-disable-next-line no-console 37 | console.error(json.errors);
Do you think they can help me? I think the problem is in DATOcms