In my case, I find out that it was not working with a trailing slash, so I just had to remove the slash for it to work.