@Akhila Thanks for reaching out. I tried saving the same policy at my end and i don't see any warnings the policy saved successfully
Note: As a best practice, it is recommended to copy and paste the policy into a text editor like Notepad to remove any formatting or whitespace that may cause issues when saving the policy in the Azure API Management portal.
This can help to avoid errors or warnings that may occur due to formatting issues.
do let me know incase of further queries, I would be happy to assist you.