Skip to content

TypeError: res.success is not a function #5032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
greggmojica opened this issue Sep 5, 2018 · 4 comments
Closed

TypeError: res.success is not a function #5032

greggmojica opened this issue Sep 5, 2018 · 4 comments

Comments

@greggmojica
Copy link

greggmojica commented Sep 5, 2018

Hello,
Using parse-server 2.8.2 and getting the following error, any help would be appreciated!

(node:15) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: res.success is not a function
(node:15) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@flovilmart
Copy link
Contributor

You’re not using 2.8.2 but 3.0.0. I am pretty sure

@greggmojica
Copy link
Author

@flovilmart how do I resolve this?

@flovilmart
Copy link
Contributor

Well you either install 2.8.2 or update the code following the migration guide.

I can guarantee you that your server is not on 2.8.2 OR that you’re calling res.success where you should not. If it broke and it was ‘working before’ but you did ‘nothing’ well, I guess you still did ‘something’

@nebitrams
Copy link

nebitrams commented Feb 13, 2019

@greggmojica I hope you have completed your migration. I have migrated my code with the least code change and share some details in my blog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants