502 Bad Gateway - Social Login (Facebook)

We are using the code generation tool in backendless for social login and when we run the app, it gives us the error 502 Bad Gateway. I saw someone else was getting the same error three hours ago. What could we be doing wrong here?

This is still not working and it is marked as solved here. We have a public Facebook app in the Facebook developer panel. We then put the app id and secret into our backendless account. We configured the app domain settings, site URL, and oath sections in the dev center in Facebook. We then downloaded the code generation for social login and we are getting a 502 bad gateway error. Are we doing something wrong here?

HI!
Which SDK do you use?

I am not using an SDK. I am just using the backendless code generation tool which does not require us to install an SDK right? All I did was download the project from the code generation tool and run it.

You selected JS, IOS or Android in code generation?

iOS

I can not reproduce this issue with my app. Please send your application id and secret key (ios)

to support@backendless.com

I just sent it along

I’m able to add/login new facebook user(kate@backendless.com) in your app without errors…

Can you include the code you used here? Are you using the code generation tool? Which method did you use to add the user? Did you change the Facebook app secret or ID?

I finally reproduced this error. Problem is in relations + enabled autoload.
Internal task id is BKNDLSS-12816.

Perfect. Thanks a lot. Appreciate the help on this.

Hey is there any update on this? We are getting ready to launch our app and need the Facebook login to be working. Is there a timeline that you expect this to be fixed by? Is there any workaround that I can use to have Facebook login working?

Hi Nevin,

As a workaround, if you uncheck the “autoload” option, it will work properly.

Regards,
Mark