getting the following error reported. does anyone ...
# orm-help
t
getting the following error reported. does anyone know what could be causing it? or, how can i investigate in further depth what this is coming from?
Copy code
Raw query failed. Code: `1064`. Message: `You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1` Error: Raw query failed. Code: `1064`. Message: `You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1`
👀 1
a
Hey there, Could you share the code that is generating this error?
t
@Austin The production app is reporting this exception multiple times and it is not telling us where it comes from, I'm not sure how to find out what code is causing it.
a
Did this just start happening suddenly? Have you recently upgraded versions or made any relevant changes to your app/database?
t
it happened 4 times within 2 minutes yesterday, and 5 times within 2hrs on June 15th. we haven't upgraded in a while (currently on
@prisma/client": "^3.9.2"
, we're going to try upgrading and see if the problem goes away long term) we perform migrations pretty frequently.
a
Have you attempted upgrading your Prisma version?
t
yeah that's in the pipeline but since there're some breaking changes for v4 and our testing suite isn't too robust i've delayed doing that. but we will try it
🤞 1