Getting error while submitting the M2 code assignment for grading

The assignment properly worked in my notebook and provided the essay, feedback and revised essay. But, when the code was submitted for grading it gave below errors for all three functions. Please help for the submissions. I checked few topics posted earlier which mentioned about some edge cases. Not clear about that. Please explain and help to resolve the issue.

Exercise 1

0/10

Failed test case: generate_draft raised LLMError: An error occurred: Error code: 400 - {‘error’: {‘message’: “Invalid value for ‘content’: expected a string, got null.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘messages.[0].content’, ‘code’: None}}.
Expected:
no exception,
but got:
An error occurred: Error code: 400 - {‘error’: {‘message’: “Invalid value for ‘content’: expected a string, got null.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘messages.[0].content’, ‘code’: None}}.

Exercise 2

0/10

Failed test case: reflect_on_draft raised LLMError: An error occurred: Error code: 400 - {‘error’: {‘message’: “Invalid value for ‘content’: expected a string, got null.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘messages.[0].content’, ‘code’: None}}.
Expected:
no exception,
but got:
An error occurred: Error code: 400 - {‘error’: {‘message’: “Invalid value for ‘content’: expected a string, got null.”, ‘type’: ‘invalid_request_error’, ‘param’: ‘messages.[0].content’, ‘code’: None}}.

Exercise 3

0/10

Failed test case: revise_draft raised AttributeError: ‘NoneType’ object has no attribute ‘choices’.
Expected:
no exception,
but got:
‘NoneType’ object has no attribute ‘choices’.

Grading passed for the two functions but for the 3rd function it is showing message as “No feedback available for this exercise.”. What does this message indicate?

Didn’t get any error code 400 messages for all the three functions. Please help with the issue with the third function.

please follow these steps, clear out your kernel output, reconnect the kernel, re-run the cell from beginning till end, then click on the save emicon :floppy_disk: present on left upper corner, then submit your assignment

let me know if issue still persist.

no feedback found error usually comes a user tries to submit multiple times with failed grader.