Forbidden Access Token

Hey guys, so I’m trying to send a token from one of my services. But keycloak mentions that it’s forbidden. I’ve compared the jwt token against a working environments, and the objects in it are the same.
This is running on my local, but connects to a database with another keycloak instance (different account home URLs).
Result when I curl it.

curl -v -X GET http://profile:7001/api/v1/profile/basic -H "Authorization: Bearer $ACCESS_TOKEN"
* Host profile:7001 was resolved.
* IPv6: (none)
* IPv4: 172.21.0.2
*   Trying 172.21.0.2:7001...
* Connected to profile (172.21.0.2) port 7001
> GET /api/v1/profile/basic HTTP/1.1
> Host: profile:7001
> User-Agent: curl/8.8.0
> Accept: */*
> Authorization: Bearer <my_token>
>
* Request completely sent off
< HTTP/1.1 403 Forbidden
< x-correlation-id: ce9e6b33-f78b-4055-a12e-2bace026348a
< Access-Control-Allow-Headers: *
< Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
< X-DNS-Prefetch-Control: off
< Expect-CT: max-age=0
< X-Frame-Options: SAMEORIGIN
< Strict-Transport-Security: max-age=15552000; includeSubDomains
< X-Download-Options: noopen
< X-Content-Type-Options: nosniff
< X-Permitted-Cross-Domain-Policies: none
< Referrer-Policy: no-referrer
< X-XSS-Protection: 0
< Set-Cookie: connect.sid=s%3AyhbTBdhdSAyAH7l7Y2vrXWr5ikSYKiVX.dAF%2FDp%2B%2BXXZbVQLskoXNJ0yNASBajXJbyLPnIbceRYg; Path=/; HttpOnly
< Date: Thu, 27 Jun 2024 17:58:57 GMT
< Connection: keep-alive
< Keep-Alive: timeout=5
< Transfer-Encoding: chunked
<
* Connection #0 to host profile left intact
Access denied

I do have query and view users set.