Unable to receive email
After creating a user using API CURL COMMAND I am not able to receive a welcome email.
I have successfully able to configured the onboarding and SMTP settings When I try to create a new user manually from UI I am able to receive the welcome email But not using from API. I am using following CURL Command.
CURL COMMAND:
curl -X POST \
--url 'https://10.195.124.220/api/rest/2.0/users/create' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXX' \
--data-raw '{
"name": "SAMPLEUSER",
"display_name": "SAMPLEUSER",
"email": "[email protected]",
"account_type": "LOCAL_USER",
"account_status": "ACTIVE",
"visibility": "SHARABLE",
"notify_on_share": true,
"show_onboarding_experience": true,
"onboarding_experience_completed": false,
"password": "WELCOME@123",
"trigger_welcome_email": true,
"trigger_activation_email": true
}'
IN RESPONSE I am getting welcome_email_sent: false
9 Replies
cc: @shikharTS @Sandeep any idea how to resolve above ?
Can anyone please help me to resolve this?
Requested for 1-1 call to troubleshoot the issue. This is happening in 9.5.0.sw. Will loop in on-call engineers to join the call.
Sure let me know when should we connect
Thank you Gaurav. As we discussed over call, we are happy to know that you have integrated sending the welcome email in your application and it is unblocked for now.
This is a bug which was fixed in 9.8.0.sw release where in the V2 API will help to trigger the welcome email directly and the custom logic can then be removed.
I am trying to deploy Thoughtspot software version 9.5.0 on RHEL 7 OS But facing bellow dependencies issue can you please help me to resolve this error?
Error: Package: R-core-devel-3.6.0-1.el7.x86_64 (epel)
Requires: pcre2-devel
Error: Package: postgresql13-devel-13.15-1PGDG.rhel7.x86_64 (pgdg13)
Requires: perl(IPC::Run)
Error: Package: llvm5.0-devel-5.0.1-7.el7.x86_64 (epel)
Requires: libedit-devel
Error: Package: libpmem-devel-1.1-1.el7.x86_64 (epel)
Requires: libpmem = 1.1-1.el7
Available: libpmem-1.1-1.el7.x86_64 (epel)
libpmem = 1.1-1.el7
Available: libpmem-1.1-4.el7.x86_64 (rhel-7-server-rhui-rpms)
libpmem = 1.1-4.el7
Available: libpmem-1.2.1-4.el7.x86_64 (rhel-7-server-rhui-rpms)
libpmem = 1.2.1-4.el7
Available: libpmem-1.3-3.el7.x86_64 (rhel-7-server-rhui-rpms)
libpmem = 1.3-3.el7
Available: libpmem-1.4-3.el7.x86_64 (rhel-7-server-rhui-rpms)
libpmem = 1.4-3.el7
Installing: libpmem-1.5.1-2.1.el7.x86_64 (rhel-7-server-rhui-rpms)
libpmem = 1.5.1-2.1.el7
Error: Package: R-core-devel-3.6.0-1.el7.x86_64 (epel)
Requires: texinfo-tex
Traceback (most recent call last):
File "/tmp/prod_image/setup.py", line 2085, in <module>
main()
File "/tmp/prod_image/setup.py", line 2079, in main
Setup()
File "/tmp/prod_image/setup.py", line 1959, in Setup
method()
File "/tmp/prod_image/setup.py", line 316, in setup_packages
setup_yum_packages()
File "/tmp/prod_image/setup.py", line 357, in setup_yum_packages
YumInstallOnline(package_list)
File "/tmp/prod_image/setup.py", line 524, in YumInstallOnline
' '.join(sorted(package_names)))
File "/tmp/prod_image/lib.py", line 205, in RunWithLogging
exit_code, cmd_str, output=stderr)
Hello Gaurav: We are working on getting the right engineer to address this. cc: @Manish @Mohamed Abdulla @shikharTS
Hello Gaurav,
can you enable "rhel-7-server-rhui-optional-rpms" in /etc/yum.repos.d/redhat-rhui.repo
Please note that we have public doumentation here: https://docs.thoughtspot.com/software/latest/customer-os-prerequisites#enable-hosts that notes that the rhel-optional repo must be enabled for RHEL7 installations.
If this doesn't help please let us know so a call can be set up to address this issue
Prerequisites for deploying ThoughtSpot on your own OS | ThoughtSpo...
Prepare the system and ThoughtSpot clusters for installation.