When the user logs into a project where Discovery has already completed, there is a Task Generation button. When you press it, the user is presented with an error:
Task Generation Failed Failed to generate tasks: Request failed with status code 400 Retry Task Generation
The browser console shows more detail:
error_handler.js:1 Failed to generate tasks:
Y
501-0fb0225c0fce04a0.js:1
POST https://api.dev.codeframeapp.com/api/projects/2/discovery/generate-tasks 400 (Bad Request)
error_handler.js:1 Failed to generate tasks:
Y {message: 'Request failed with status code 400', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
code
:
"ERR_BAD_REQUEST"
config
:
{transitional: {…}, adapter: Array(3), transformRequest: Array(1), transformResponse: Array(1), timeout: 0, …}
message
:
"Request failed with status code 400"
name
:
"AxiosError"
request
:
XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
response
:
{data: {…}, status: 400, statusText: '', headers: ej, config: {…}, …}
status
:
400
stack
:
"AxiosError: Request failed with status code 400\n at eN (https://dev.codeframeapp.com/_next/static/chunks/501-0fb0225c0fce04a0.js:1:43191)\n at XMLHttpRequest.g (https://dev.codeframeapp.com/_next/static/chunks/501-0fb0225c0fce04a0.js:1:47640)\n at tl.request (https://dev.codeframeapp.com/_next/static/chunks/501-0fb0225c0fce04a0.js:1:56133)\n at async ew (https://dev.codeframeapp.com/_next/static/chunks/app/projects/%5BprojectId%5D/page-c645049fd51738f6.js:1:32237)"
[[Prototype]]
:
Error
Expected Output:
The user should be presented with a list of generated tasks in order to begin development on one of them.
When the user logs into a project where Discovery has already completed, there is a Task Generation button. When you press it, the user is presented with an error:
Task Generation Failed Failed to generate tasks: Request failed with status code 400 Retry Task GenerationThe browser console shows more detail:
Expected Output:
The user should be presented with a list of generated tasks in order to begin development on one of them.