x

OAuth: /app-cent/oauth/authorize returns 500 error

I get throught the initial redirect for the OAuth process, which give me a callback_url of https://www.weebly.com/app-center/oauth/authorize

But when I hit that url (with the required params), I get 500 error. 

I cannot get to the step of receiving an authorization_code.

How do I get around this?

image

1,978 Views
Message 1 of 3
Report
1 Best Answer

Best Answer

I don't see the `site_id` in your query parameters.

Is that being supplied?

View Best Answer >

1,959 Views
Message 2 of 3
Report
2 REPLIES 2

Best Answer

I don't see the `site_id` in your query parameters.

Is that being supplied?

1,960 Views
Message 2 of 3
Report

That did it.  Looks like Weebly docs are wrong about the optionality of site_id...

Note: site_id was **not** provided to me in the initial redirect by Weebly.  Had to manually fish it out and pass in the auth url


image

1,946 Views
Message 3 of 3
Report