You need to use --db-filter parameter while Starting the server. Please read the module documentation.
Tks for reply , could you give me a example for the db-filter , tks！
and I set the db-filter in flectra.conf as follow …
but it return the same result
Is there something to setup in otherplace ？
Is really no one can answer me this question?
I was completely according to the set of documents to do, but still can’t get the right result? For example in the video can’t mention "db - filter Settings. I also posting my config file ,it should be able to judge whether to set up the right, but is not directly in the face of himself. tks!
You have used a dynamic domain filter which depends on the url of your instance. Can you try with a static database filter and check.
I completely is according to the document, according to the video, in accordance with the instructions to test, but why still can not get the correct results? Now attach our server Settings and start the script has the test result, hope to get the real solution and solutions, exactly what went wrong, now is a good idea.
sudo su flectra
./opt/flectra/flectra/flectra-bin --config=/ect/flectra/flectra.conf --db-filter yourdatabasename -d yourdatabasename
and then try to connect via REST API
Tks for reply
Does REST-API not support the db - filter, dbname parameter is written in the config file?
It does support that as well but do you know what you have used as database filter in your config file?
About REST-API ,I still can not get the properly result
Attachment is the command and configuration details I launched.
But the result is still 400. . .
Your default flectra service seems to be still running.
sudo service flectra stop
And then run the commands I gave.
ps -ax | grep flectra
To see the running instances of Flectra.
Do you still have db filter in your config?
Attached to the flectra.conf file
There is no attachment
i also have the same problem, already set the db_name and db_filter in flectra_conf but the REST post result always wrong dbname…
found the problem, by the default OAuthlib is not installed, so I install OAuthlib and REST API is working…
For me http://localhost:7073/api/auth/get_tokens is working and if I do not set access_token in the header of http://localhost:7073/api/res.partner I’m getting the proper “access_token_not_found” error but if I set up access_token (which I’ve received through /auth/get_tokens endpoint) in the header, Postman gives me ‘Could not get any response’ and nothing appears in the error/infolog of flectra. Could someone help me with that?