Rating or reviewing an app from the App Store on iOS always silently fails. How to fix? Whenever I rate or review an app on from the App Store on iOS, it never saves the rating or review. It only appears to save the rating/review initially, then if I view another app in the store and go back to the previous one, the review isn't saved. If I close the App Store and reopen it, the rating/review disappears.

I can tell that I'm definitely logged in to the App Store as I can see all of my purchases and register new apps to my account.

How do I get the rating/review system to work properly?
Got a working solution after filing a support ticket.

Click "Write a review" to open the long-form review UI. Don't click on the stars at the top; if any number of them are already highlighted when you open the long-form review UI, click to the left of the first one (just like if you wanted to give the app an invisible 0 stars rating) to clear it.

Write the title and explanation on your review as normal, click Send, and you will be prompted to assign a number of stars. Now you can click the number of stars and save/send the review.