Redirection code wheere user will wnter after the login

enter image description here

enter image description here

enter image description here

The above images is for the continuos code flow!

The error “Failed to load resource: the server responded with a status of 404 (Not Found)” indicates that the requested resource could not be found on the server. In the context of integrating Autodesk APS with BIM360, this could be due to several reasons, such as an incorrect URL endpoint, a typo in the route path, or the resource not being available on the server. It’s crucial to check that the endpoint URL is correctly specified in the code and that the server is configured to handle requests at that endpoint. Ensure that the route paths in the code match those defined on the server and verify that the server is properly set up to respond to the requests being made.

what should i do next to resolve this error?