try refresh token issue
# support-questions
Hey @rp I am trying to use supertoken's session in another microservice which will be connected to the common core, so as to verify the user session for other services as well. My auth service is written in Python (FastAPI) SDK and other microservice is written in Golang. For that I have connected both microservices to the same SuperTokens core instance and used supertokens init functions in the respective services. But, while doing so in the second service the api routes which are protected; on a request gives a response "try refresh token". Issue still persists even after reloading the page or even on hard refresh. I have checked the cookies as well. All the four cookies are setting up properly in both the services as they shared a common frontend. The api routes of the main supertokens service (in which /auth and /login functionality is used) are working fine.
hey @HimanshuKukreja can you enable the backend degug logs for the serivce that's failing and show me the output?
on hitting the request it just shows 401 Unauthorized

can you enable backend debug logs and show the ouput?
search our docs for backend debug logs
okk sure
Debug logs are not showing for the request (I have enabled them) . I think init function is not calling on the request. I have made a sample fastapi application for this for testing I am calling using this api call
Copy code
async def like_comment(session: SessionContainer = Depends(verify_session())):
    user_id = session.get_user_id()
> this is my init() function >
Copy code
>     app_info=InputAppInfo(
>         app_name="demo",
>         api_domain="http://localhost:8000",
>         website_domain="http://localhost:3000",
>         api_base_path="/auth",
>         website_base_path="/auth"
>     ),
>     supertokens_config=SupertokensConfig(
>         connection_uri="http://localhost:3567",
>         api_key="BM29seIwT0gOhdYl=6uR4N=mNBKO1H"
>     ),
>     framework='fastapi',
>     recipe_list=[
>         session.init(), # initializes session features
>         thirdpartyemailpassword.init(
>             providers=[
>                 Google(
>                     client_id="",
>                     client_secret="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",
>                     scope=[""]
>                 )
>                 , Facebook(
>                     client_id="1634651033637646",
>                     client_secret="8e02b227e12aa764ffe665b87796a663"
>                 )
>             ]
>         ),
>         dashboard.init(api_key="supertokens"),
>         usermetadata.init(),
>         userroles.init()
>     ],
>     mode='asgi' # use wsgi if you are running using gunicorn
> )
debug logs should get printed out if you call our getSession or verifySession function. Please try and get those.

right, are you sending the sIdRefreshToken as well? You need to make sure that the backend SDK being used in both the services are using the latest backend SDKs.
yeah you are write there is version mismatch in the services.
Is it necessary that backend SDK and frontend both must have to be in their latest versions? Is some specific version of backend sdk can give compatibility issues with some version of frontend?