Auth0 Home Blog Docs

Custom Database Create Method Returns Error no matter what is in the method


#1

Setting up a custom database connection and trying to implement the Create method. No matter what I put in the Create method I get an [Error] Unexpected end of JSON input error.

If simply returning the callback with null (the success state) returns the error.

image


#2

Turns out this was because the GetUser call was failing first