That was a typo. It returns. {"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}
		
	 
	
	
	
	
 
			
				
	
	
		
		Hello,
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that. 
This issue is caused by the trailing slash redirection you have on your website where it’s also appending this to the REST API routes making them fail.
You need to make sure this redirection doesn’t apply to the API routes, otherwise, the functionality of the plugin might not work as intended.
To fix this, adding the condition line RewriteCond %{REQUEST_URI} !^/wp-json (exclude wp-json URLs) to your trailing slash redirect rule should work, The edited redirect will look similar to the one below:
#Add Trailing slash for end of the URL
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/wp-json
RewriteRule ^(.*[^/])$ /$1/ [L,R]
Here’s how you can edit .htaccess file using Rank Math:
https://rankmath.com/kb/edit-htaccess/
Please do take a backup before editing your .htaccess file.
You can also ask your hosting provider to do that for you.
Let us know how it goes. Looking forward to helping you.
Thank you.
		
	 
	
	
	
	
 
			
				
	
	
		
		Thanks for the quick response. Unfortunately editing the htaccess file as followed didnt fix the issue. The trailing slash no longer gets added to the end of the url, but it still gives a 404 error. 
		
	 
	
	
	
	
 
			
				
	
	
		
		Nevermind. That did the trick. Thank you! <3
		
	 
	
	
	
	
 
			
				
	
	
		
		Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.