Query parameters returning empty string #34424
Unanswered
samantha-wong
asked this question in
Help
Replies: 1 comment 3 replies
|
@samantha-wong Your 'sId' should be working as your url looks good. I don't think it is related to a nextjs issue. I could be where you are trying to deploy this. But also with a quick google search it could be related to ad-blockers or some third party program blocking the ability to pass a query in the URL. So I would try looking for those and disabling them. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, has anyone experienced query returning an empty string? It stopped working for me all of a sudden. I've tried retrieving it using context.query.sId and through router.query.sId. I've also tried using router.isReady, the craziest part is it works fine in localhost.
I'm using version 12.0.3. Any help appreciated!
Thanks!
All reactions