Good Day:
I am sending the following back to Power Apps after using the select function in Power Automate.

I am getting an error message in Power Apps, after using the following formula to create a collection of the appointments to display in a vertical gallery:
ClearCollect(
colAppointments,
ForAll(
Table(ParseJSON(GetPatientAppointments.Run(Appointment_Date.SelectedDate, PatientID.Text).result)),
{
appointmentid: Value(Value.appointmentid),
appointmenttype: Value(Value.appointmenttype)
}
)
)
When I press the button it runs the flow successfully and returns the array of appointmentids and appointmenttypes. However, Power Apps displays the "Expecting String but got Object".
How do I change the flow or power apps expression to visualize each appointment in the gallery/collection variable.
Thanks