Skip to Content
Menu
This question has been flagged
3 Replies
4010 Views

Add Stream in Social Media is not working in Odoo 13 Social Marketing in our production environment. No error message. Tried it in a demo database and it is running okay. Is there any setup or configuration needed?

Avatar
Discard

I've recently deployed it for two customers and it seems to work fine. Are you sure that the database has an enterprise license applied with an active subscription? Without this Odoo doesn't allow you to add streams. Is the log giving any errors or warnings?

Author

We acquired enterprise license last month and its good for at least a year. I'm working on the front end and do not currently have access to error logs. i'm receiving no error or warning from the system when clicking the button to link the app. I tried it in our staging environment, and it wont work since license is good for 1 database only but at least the staging is giving a warning. i tried it in a new demo database and it is working fine out of the box, without having to configure anything, but in our production it s not. Thinking of reinstalling/ rebuilding the database since its fairly empty as of now but might have problem with the subscription later on

@Yenthe,

We have partnership license. there's no errors or warnings in the logs.

When we click the twitter or facebook logo in Add a Stream there's no action in adding an account.

also we tried an app ID of facebook.with all set up and possible solution. Below is the error when we used APP ID of facebook

URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.

@yenthe

Here's the error in log odoo

raceback (most recent call last):

File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 270, in run_wsgi

execute(self.server.app)

File "/usr/local/lib/python3.6/dist-packages/werkzeug/serving.py", line 258, in execute

application_iter = app(environ, start_response)

File "/home/odoo/src/odoo/odoo/service/server.py", line 439, in app

return self.app(e, s)

File "/home/odoo/src/odoo/odoo/service/wsgi_server.py", line 140, in application

return ProxyFix(application_unproxied)(environ, start_response)

File "/usr/local/lib/python3.6/dist-packages/werkzeug/contrib/fixers.py", line 152, in __call__

return self.app(environ, start_response)

File "/home/odoo/src/odoo/odoo/service/wsgi_server.py", line 117, in application_unproxied

result = odoo.http.root(environ, start_response)

File "/home/odoo/src/odoo/odoo/http.py", line 1281, in __call__

return self.dispatch(environ, start_response)

File "/home/odoo/src/odoo/odoo/http.py", line 1251, in __call__

return self.app(environ, start_wrapped)

File "/usr/local/lib/python3.6/dist-packages/werkzeug/wsgi.py", line 766, in __call__

return self.app(environ, start_response)

File "/home/odoo/src/odoo/odoo/http.py", line 1450, in dispatch

result = ir_http._dispatch()

File "/home/odoo/src/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch

return super(Http, cls)._dispatch()

File "/home/odoo/src/odoo/addons/web_editor/models/ir_http.py", line 22, in _dispatch

return super(IrHttp, cls)._dispatch()

File "/home/odoo/src/odoo/addons/utm/models/ir_http.py", line 29, in _dispatch

response = super(IrHttp, cls)._dispatch()

File "/home/odoo/src/odoo/addons/http_routing/models/ir_http.py", line 516, in _dispatch

result = super(IrHttp, cls)._dispatch()

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 233, in _dispatch

return cls._handle_exception(e)

File "/home/odoo/src/odoo/addons/utm/models/ir_http.py", line 34, in _handle_exception

response = super(IrHttp, cls)._handle_exception(exc)

File "/home/odoo/src/odoo/addons/http_routing/models/ir_http.py", line 607, in _handle_exception

return super(IrHttp, cls)._handle_exception(exception)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 201, in _handle_exception

return request._handle_exception(exception)

File "/home/odoo/src/odoo/odoo/http.py", line 744, in _handle_exception

return super(HttpRequest, self)._handle_exception(exception)

File "/home/odoo/src/odoo/odoo/http.py", line 309, in _handle_exception

raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 14, in reraise

raise value

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 229, in _dispatch

result = request.dispatch()

File "/home/odoo/src/odoo/odoo/http.py", line 803, in dispatch

r = self._call_function(**self.params)

File "/home/odoo/src/odoo/odoo/http.py", line 345, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/service/model.py", line 93, in wrapper

return f(dbname, *args, **kwargs)

File "/home/odoo/src/odoo/odoo/http.py", line 338, in checked_call

result = self.endpoint(*a, **kw)

File "/home/odoo/src/odoo/odoo/http.py", line 909, in __call__

return self.method(*args, **kw)

File "/home/odoo/src/odoo/addons/auth_oauth/controllers/main.py", line 46, in wrapper

return func(self, *a, **kw)

File "/home/odoo/src/odoo/odoo/http.py", line 510, in response_wrap

response = f(*args, **kw)

TypeError: facebook_account_callback() missing 1 required positional argument: 'access_token' - - -

This has been fixed by Odoo,

Root Cause: IAP

Best Answer

To give you more details. We are using Odoo.sh platform

Here's the screen cast link for your reference https://www.loom.com/share/a30ccf34b4b34a9caf1fdd1208b801e1

Avatar
Discard