As suggested by @PreetBista adding two ** (/api/** ) after api works fine in most of the cases. Try this first before looking for other solutions