Java API - Error 500

Im trying to make a REST app using java to make a database of my patreons to be used by my scripts user validation, but in my tests im always getting the error code 500, (Error: Request failed.) when im trying to obtain the user profile info

Someone had similar issue or have any tips?

Obs.: Im hosting my rest app in google app engine standard.

I found out that the error happens in the following line:

JSONArray included = userResponse.getJSONArray(“included”);

any ideas?

ok, i found the problem, the issue happens because the “node” “included” don’t exists in the json data :stuck_out_tongue:

1 Like

Hey @JulioNIB!

Sorry for the super late response but I’m glad you figured it out. Was there any additional assistance you needed around this?