Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya,
The error message you’re receiving, “path not found,” is quite generic. It could be related to various issues. To diagnose and fix the issue, consider the following steps:
urlpatterns in your Django app, which is a step in the right direction.Here’s the recommended way to set the urlpatterns in Django for serving the app under “/api”:
from django.contrib import admin
from django.urls import path, include
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
path('admin/', admin.site.urls),
path('api-auth/', include('rest_framework.urls')),
path('summernote/', include('django_summernote.urls')),
path('api/', include('APIS.urls')),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Dockerfile Configuration: Verify that your Dockerfile for Django is correctly configured to serve the application under the desired path. Ensure that the Django application is being run with the correct settings and URL path.
Routing Configuration: Double-check your App Spec file. It appears that you’ve configured the React app to be served at the root path with "path: /". Make sure that you haven’t inadvertently changed this configuration.
Debugging and Logs: App Platform provides logs that can be helpful for diagnosing issues. Check the logs for any error messages that can provide more specific information about what might be going wrong.
Testing Locally: To isolate the issue, you can try running your Dockerized Django app locally and configuring it to run under the “/api” path. This can help you confirm that the Django app works as expected under that path.
Reverse Proxy (if applicable): If you are using a reverse proxy, make sure it’s configured correctly to forward requests to the Dockerized Django app at the “/api” path.
Caching or Browser Issues: Sometimes, caching or issues with the browser can cause problems. Try accessing the URL in an incognito window or clearing your browser cache to ensure you’re not seeing cached content.
If you’ve verified all the above points and are still facing the issue, check the specific error message and logs for more details. If you can provide more information about the error message or any specific error codes, it will be easier to further troubleshoot the problem.
Hope that this helps!