# /mtc.js returns redirect to dashboard

**URL:** <https://forum.mautic.org/t/mtc-js-returns-redirect-to-dashboard/22490>\
**Category:** Product Support\
**Created:** [January 26, 2022, 3:33pm UTC](https://forum.mautic.org/t/mtc-js-returns-redirect-to-dashboard/22490 "2022-01-26T15:33:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![donbowman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/donbowman/32/5702_2.png) [@donbowman](https://forum.mautic.org/u/donbowman)\
**Post date:** [January 26, 2022, 3:33pm UTC](https://forum.mautic.org/t/mtc-js-returns-redirect-to-dashboard/22490/1 "2022-01-26T15:33:00Z")

</div>

**Your software**  
My Mautic version is: 4.1.1  
My PHP version is: 7.4  
My Database type and version is: tidb

**Your problem**

curl [https://DOMAIN/mtc.js](https://DOMAIN/mtc.js)  
returns a redirect as below. This was working previously, i’m not sure what has changed.  
But this prevents the tracking js from being fetched.

I use saml sso. The curl command is obv not signed in (so no cookies etc).

Why this redirect? What can i do to triage or resolve?

```auto
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url='/s/dashboard'" />

        <title>Redirecting to /s/dashboard</title>
    </head>
    <body>
        Redirecting to <a href="/s/dashboard">/s/dashboard</a>.
    </body>

```
