<p>I have deployed a multiconnect setup of the WhatsApp Business API client in Production Kubernetes enviroment, using the documentation for Minikube <a href="https://developers.facebook.com/docs/whatsapp/on-premises/get-started/installation/dev-multiconnect-on-minikube#step-2--get-the-whatsapp-business-api-client-configuration-files" rel="nofollow noreferrer">Developer Setup: Multiconnect on Minikube</a> as referece.</p>
<p>But when doing the first login, in order to get the auth token, i get the following error on Postman:</p>
<pre class="lang-json prettyprint-override"><code>{
    &quot;meta&quot;: {
        &quot;version&quot;: &quot;v2.37.1&quot;,
        &quot;api_status&quot;: &quot;stable&quot;
    },
    &quot;errors&quot;: [
        {
            &quot;code&quot;: 1006,
            &quot;title&quot;: &quot;Resource not found&quot;,
            &quot;details&quot;: &quot;URL path not found&quot;
        }
    ]
}
</code></pre>
<p>All the containers are running:</p>
<pre class="lang-json prettyprint-override"><code>NAME                                           READY   STATUS      RESTARTS   AGE
mysql-dev-6cdc47979f-6f6t5                     1/1     Running     0          2d23h
whatsapp-coreapp-deployment-7bb4c6b8bc-qw946   1/1     Running     0          24m
whatsapp-coreapp-deployment-7bb4c6b8bc-zkj5z   1/1     Running     0          24m
whatsapp-master-deployment-84ffbdd48d-4rw8w    1/1     Running     0          24m
whatsapp-master-deployment-84ffbdd48d-zwvlq    1/1     Running     0          24m
whatsapp-web-deployment-74b99f4579-s44lp       1/1     Running     1          25m
whatsapp-web-deployment-74b99f4579-sn55t       1/1     Running     0          25m
</code></pre>
<p>And the given error happens on every call on Postman, not only when logging in (check health, get users, login, login admin, etc), all of them gives the same error:</p>
<pre class="lang-json prettyprint-override"><code>&quot;code&quot;: 1006,
&quot;title&quot;: &quot;Resource not found&quot;,
&quot;details&quot;: &quot;URL path not found&quot;
</code></pre>
<p>I've checked the container logs and i'ts returning 404 for every path called:</p>
<pre class="lang-json prettyprint-override"><code>[2021-12-20 12:40:57.546610] app.INFO: [dd610cd0d21e431fafafc737c323565e] Response:  {&quot;meta&quot;:{&quot;version&quot;:&quot;v2.37.1&quot;,&quot;api_status&quot;:&quot;stable&quot;},&quot;errors&quot;:[{&quot;code&quot;:1006,&quot;title&quot;:&quot;Resource not found&quot;,&quot;details&quot;:&quot;URL path not found&quot;}]} []
[2021-12-20 12:40:57.548893] app.INFO: [dd610cd0d21e431fafafc737c323565e] Request POST_//v1/users/login returns 404 in 530.65 ms [] []
[2021-12-20 12:45:18.556704] app.ERROR: [4018a09ea0084f9fa82f843905de2b00] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for &quot;GET //v1/stats/app&quot; (uncaught exception) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 2 {&quot;exception&quot;:&quot;[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \&quot;GET //v1/stats/app\&quot; at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:2, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \&quot;//v1/stats/app\&quot;. at /var/www/html/vendor/symfony/routing/Matcher/UrlMatcher.php:2)&quot;} []
[2021-12-20 12:45:18.557154] app.INFO: [4018a09ea0084f9fa82f843905de2b00] Response:  {&quot;meta&quot;:{&quot;version&quot;:&quot;v2.37.1&quot;,&quot;api_status&quot;:&quot;stable&quot;},&quot;errors&quot;:[{&quot;code&quot;:1006,&quot;title&quot;:&quot;Resource not found&quot;,&quot;details&quot;:&quot;URL path not found&quot;}]} []
[2021-12-20 12:45:18.557462] app.INFO: [4018a09ea0084f9fa82f843905de2b00] Request GET_//v1/stats/app returns 404 in 84.57 ms [] []
[2021-12-20 12:52:11.890507] app.ERROR: [5a84217237cc49e8bb9df953ac32c799] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for &quot;GET /auth/v1/login/&quot; (uncaught exception) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 2 {&quot;exception&quot;:&quot;[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \&quot;GET /auth/v1/login/\&quot; at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:2, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \&quot;/auth/v1/login/\&quot;. at /var/www/html/vendor/symfony/routing/Matcher/UrlMatcher.php:2)&quot;} []
[2021-12-20 12:52:11.890825] app.INFO: [5a84217237cc49e8bb9df953ac32c799] Response:  {&quot;meta&quot;:{&quot;version&quot;:&quot;v2.37.1&quot;,&quot;api_status&quot;:&quot;stable&quot;},&quot;errors&quot;:[{&quot;code&quot;:1006,&quot;title&quot;:&quot;Resource not found&quot;,&quot;details&quot;:&quot;URL path not found&quot;}]} []
[2021-12-20 12:52:11.891043] app.INFO: [5a84217237cc49e8bb9df953ac32c799] Request GET_/auth/v1/login/ returns 404 in 84.07 ms [] []
[2021-12-20 12:52:12.088612] app.ERROR: [2b26c43f700640f190977bb797ec4448] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for &quot;GET /favicon.ico&quot; (from &quot;https://192.168.88.80:31599/auth/v1/login/&quot;) (uncaught exception) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 2 {&quot;exception&quot;:&quot;[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \&quot;GET /favicon.ico\&quot; (from \&quot;https://192.168.88.80:31599/auth/v1/login/\&quot;) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:2, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \&quot;/favicon.ico\&quot;. at /var/www/html/vendor/symfony/routing/Matcher/UrlMatcher.php:2)&quot;} []
[2021-12-20 12:52:12.088863] app.INFO: [2b26c43f700640f190977bb797ec4448] Response:  {&quot;meta&quot;:{&quot;version&quot;:&quot;v2.37.1&quot;,&quot;api_status&quot;:&quot;stable&quot;},&quot;errors&quot;:[{&quot;code&quot;:1006,&quot;title&quot;:&quot;Resource not found&quot;,&quot;details&quot;:&quot;URL path not found&quot;}]} []
[2021-12-20 12:52:12.089117] app.INFO: [2b26c43f700640f190977bb797ec4448] Request GET_/favicon.ico returns 404 in 82.22 ms [] []

</code></pre>
<p>Edit: Here's also the logs for the second replica of the webapp deployment</p>
<pre class="lang-json prettyprint-override"><code>Web server started
Starting web monitor loop ...
==&gt; /var/log/lighttpd/error.log &lt;==
2021-12-20 12:38:05: (server.c.1488) server started (lighttpd/1.4.55)
tail: cannot open '/var/log/whatsapp/web.log' for reading: No such file or directory
Setting up watches.
Watches established.
tail: '/var/log/whatsapp/web.log' has appeared;  following new file
[2021-12-20 12:52:24.295383] app.ERROR: [7c73b15c0a6c488fb5ac7703a4b337ec] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for &quot;GET /teste/&quot; (uncaught exception) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 2 {&quot;exception&quot;:&quot;[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \&quot;GET /teste/\&quot; at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:2, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \&quot;/teste/\&quot;. at /var/www/html/vendor/symfony/routing/Matcher/UrlMatcher.php:2)&quot;} []
[2021-12-20 12:52:24.302930] app.INFO: [7c73b15c0a6c488fb5ac7703a4b337ec] Response:  {&quot;meta&quot;:{&quot;version&quot;:&quot;v2.37.1&quot;,&quot;api_status&quot;:&quot;stable&quot;},&quot;errors&quot;:[{&quot;code&quot;:1006,&quot;title&quot;:&quot;Resource not found&quot;,&quot;details&quot;:&quot;URL path not found&quot;}]} []
[2021-12-20 12:52:24.307525] app.INFO: [7c73b15c0a6c488fb5ac7703a4b337ec] Request GET_/teste/ returns 404 in 201.72 ms [] []
[2021-12-21 11:04:28.642518] app.ERROR: [7181dfea9e7b4e51adb41fc41571253f] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for &quot;POST //v1/users/login&quot; (uncaught exception) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 2 {&quot;exception&quot;:&quot;[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \&quot;POST //v1/users/login\&quot; at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:2, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \&quot;//v1/users/login\&quot;. at /var/www/html/vendor/symfony/routing/Matcher/UrlMatcher.php:2)&quot;} []
[2021-12-21 11:04:28.644938] app.INFO: [7181dfea9e7b4e51adb41fc41571253f] Response:  {&quot;meta&quot;:{&quot;version&quot;:&quot;v2.37.1&quot;,&quot;api_status&quot;:&quot;stable&quot;},&quot;errors&quot;:[{&quot;code&quot;:1006,&quot;title&quot;:&quot;Resource not found&quot;,&quot;details&quot;:&quot;URL path not found&quot;}]} []
[2021-12-21 11:04:28.645501] app.INFO: [7181dfea9e7b4e51adb41fc41571253f] Request POST_//v1/users/login returns 404 in 87.15 ms [] []
[2021-12-21 11:05:29.180215] app.ERROR: [8ce236970e404d7b90d86ad53e774105] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for &quot;GET /auth/v1/login/&quot; (uncaught exception) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 2 {&quot;exception&quot;:&quot;[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \&quot;GET /auth/v1/login/\&quot; at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:2, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \&quot;/auth/v1/login/\&quot;. at /var/www/html/vendor/symfony/routing/Matcher/UrlMatcher.php:2)&quot;} []
[2021-12-21 11:05:29.180746] app.INFO: [8ce236970e404d7b90d86ad53e774105] Response:  {&quot;meta&quot;:{&quot;version&quot;:&quot;v2.37.1&quot;,&quot;api_status&quot;:&quot;stable&quot;},&quot;errors&quot;:[{&quot;code&quot;:1006,&quot;title&quot;:&quot;Resource not found&quot;,&quot;details&quot;:&quot;URL path not found&quot;}]} []
[2021-12-21 11:05:29.181257] app.INFO: [8ce236970e404d7b90d86ad53e774105] Request GET_/auth/v1/login/ returns 404 in 26.28 ms [] []
[2021-12-21 11:05:29.332427] app.ERROR: [feb8c3253624422383421e253fc8ce73] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for &quot;GET /favicon.ico&quot; (from &quot;https://192.168.88.80:31599/auth/v1/login/&quot;) (uncaught exception) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 2 {&quot;exception&quot;:&quot;[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \&quot;GET /favicon.ico\&quot; (from \&quot;https://192.168.88.80:31599/auth/v1/login/\&quot;) at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:2, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \&quot;/favicon.ico\&quot;. at /var/www/html/vendor/symfony/routing/Matcher/UrlMatcher.php:2)&quot;} []
[2021-12-21 11:05:29.332971] app.INFO: [feb8c3253624422383421e253fc8ce73] Response:  {&quot;meta&quot;:{&quot;version&quot;:&quot;v2.37.1&quot;,&quot;api_status&quot;:&quot;stable&quot;},&quot;errors&quot;:[{&quot;code&quot;:1006,&quot;title&quot;:&quot;Resource not found&quot;,&quot;details&quot;:&quot;URL path not found&quot;}]} []
[2021-12-21 11:05:29.333465] app.INFO: [feb8c3253624422383421e253fc8ce73] Request GET_/favicon.ico returns 404 in 21.29 ms [] []

</code></pre>
<p>And here is the service that got created for webapp:</p>
<pre class="lang-json prettyprint-override"><code>NAME                       TYPE           CLUSTER-IP      EXTERNAL-IP      PORT(S)                               AGE
whatsapp-web-service       NodePort       10.110.67.166   &lt;none&gt;           443:31599/TCP                         22h
</code></pre>
<p>What could this be?</p>

ReaperClown
<p>You need to generate admin auth token to call the APIs.
I did the following steps and it worked for me.
Note : I used docker-desktop inbuilt k8s single node cluster for POC on this issue.</p>
<pre><code>1. Download the postman collection from this link:
   https://github.com/fbsamples/WhatsApp-Business-API-Postman-Collection
2. Follow the steps in this document:
   https://developers.facebook.com/docs/whatsapp/on-premises/get-started/postman
</code></pre>
<p>Do let me know if it worked for you as well.</p>
<p>Regards,</p>
<p>Prince Arora</p>
