While using paypal payment in laravel, if the return redirection from paypal to customer web application there is a chance to get this error
Solution: if any specialcharacter contains in the particualr url it will show this error. so please remove unwanted characters in the url
For example if ur domain is generated from the application like as below
test_mydoubts.in — in this case there is chance to get the above error