Closed DevLukeHere closed 2 years ago
Hi @lukewzk, apologies for the delay on this ticket. Were you able to figure out your issue? It seems like a very basic usecase that should definitely work on Amplify. I don't see anything in your setup that stands out. Let us know if you are still having problems.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Before opening, please confirm:
JavaScript Framework
Next.js
Amplify APIs
Not applicable
Amplify Categories
Not applicable
Environment information
Describe the bug
I have a Next JS application has been deployed onto Amplify, however, whenever I am trying to access a dynamic page for example: https://testing.com/companies/12345, it will throw me an error. Same goes for when I am trying to refresh a static page in my application.
Expected behavior
All dynamic routes should be able to be accessed and page refresh is possible.
Reproduction steps
Code Snippet
An example of the code snippet for 1 of my dynamic route component.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
Some things to note for my application is that I am:
The document.js file is as follows: