"Invalid api key or secret" error in Server-to-Server OAuth app

No, Its quite interesting to me cause I have not been able to replicate this issue on my end.
I wrote this guide about a month ago, maybe it can help you troubleshoot the error:

Let me know if it helps!
Best,
Elisa