Probelm with single sign on API In nextcloud 15 Version

Hi Support,

We have developed the Nextcloud WHMCS module. Everything is working fine in NextCloud 14 version But same API not working in NextCloud 15. When we send the request we got the response 503 HTTP service not available error same when refresh the page it worked please help us.