Error on fitting the model

the final error showing is below
ValueError: Input 0 of layer sequential_32 is incompatible with the layer: expected axis -1 of input shape to have value 784 but received input with shape (30, 28, 28)

if i normalize the X_train and y_train i am reciving this error
ValueError: Shapes (30, 1) and (30, 10) are incompatible

Can you please check this thread and see if you are able to resolve it.?

No not really working after reshape it says again
if i normalize the X_train and y_train i am reciving this error
ValueError: Shapes (30, 1) and (30, 10) are incompatible

There is some error in the dimensions of your model. The dimension you are sending to the model is not compatible. Kindly look into it carefully, these are some logic errors, hard to find.
It won’t be possible for us to rectify it until we see the model’s architecture.