Sub domain response 500 error
Mayandev opened this issue · comments
Nice project!
But I got 500 error with sub-domain when I click the share button.
Thanks Mayan!
I've seen this for a few other users. Could you please share your link or a screenshot of the error? Let's get to the root cause.
Thanks Mayan!
I've seen this for a few other users. Could you please share your link or a screenshot of the error? Let's get to the root cause.
Thanks Mayan!
I've seen this for a few other users. Could you please share your link or a screenshot of the error? Let's get to the root cause.
I can't find any relevant information here.
Will it be related to private repo?
My guess would be that getRow
here throws an error. When there's an error thrown in getServerSideProps
you'll get a 500.
Line 104 in bc60f60
So if the above is correct you'd have to find out why getRow
is throwing an error.
You were right Jesse. I replicated the error locally and isolated it to getRow
:
Results contain 0 rows, application/vnd.pgrst.object+json requires 1 row
A patch has been added to handle the case where user details fail to publish, resulting in their URL returning a 500.