booleanbites / houzi-support

Support forum repo for issues & bugs reported for Houzi Flutter App.
4 stars 0 forks source link

Geeting a HTTP 303 Error #59

Closed topoika closed 1 year ago

topoika commented 1 year ago

I am building an app connected to my domain and it is sending a HTTP 301 and 401 error, Check below I/flutter (20922): Create Nonce: error code = 301 I/flutter (20922): Create Nonce: error message = Http status error [301] I/flutter (20922): filtered article: error code = 301 I/flutter (20922): filtered article: error message = Http status error [301] I/flutter (20922): filtered article: error code = 301 I/flutter (20922): filtered article: error message = Http status error [301] I/flutter (20922): property meta data: error code = 404I/flutter (20922): property meta data: error message = Http status error [404]

What's the issue?

AdilSoomro commented 1 year ago

Please make sure you're using latest plugin on web admin. Download latest from here: https://github.com/booleanbites/houzi-rest-api/releases/latest.zip

Also make sure you've setup app secrets both on plugin and in the app source. https://houzi-docs.booleanbites.com/tools/app_secret

topoika commented 1 year ago

Yeah, I have the latest version and also the app secret is a random 20 char string, it's the same the app and the plugin set up page, still no can do,

now error has changed to this I/flutter ( 3570): uri: https://domain.com/wp-json/houzez-mobile-api/v1/search-properties?app_version=1.2.0&houzi_version=1.2.0&app_build_number=1&app_platform=android

AdilSoomro commented 1 year ago

Have you set your website address in the configuration.json?

From the logs, it seems it is sending to domain.com which is a placeholder address which we shipped in the source.

If you've set the website address, delete the app from device and reinstall.

Checkout docs here: https://houzi-docs.booleanbites.com/app-setup/change_app_url

topoika commented 1 year ago

Have you set your website address in the configuration.json?

From the logs, it seems it is sending to domain.com which is a placeholder address which we shipped in the source.

If you've set the website address, delete the app from device and reinstall.

Checkout docs here: https://houzi-docs.booleanbites.com/app-setup/change_app_url

This works, Thanks @AdilSoomro