Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi
I have created the organization, group, and user(user: Factory_head_1) for my project and I have added the user to the group and given all the permissions at the organization level, group level, and as well as user-level.
I am able to login successfully and can view the mashup.
but not able to view the service data.
I have created a Thing(Thing name:507)and 2 services called Live_json_data and GetAlerts.
Error which I am getting in the log file:
2020-09-28 10:19:52.304+0530 [L: ERROR] [O: S.c.q.l.c.Logger] [I: 507] [U: Factory_head_1] [S: ] [P: ] [T: http-nio-8080-exec-6] Error in: 507.GetAlerts javascript service
at GetAlerts:20
2020-09-28 10:19:54.676+0530 [L: ERROR] [O: S.c.q.l.c.Logger] [I: 507] [U: Factory_head_1] [S: ] [P: ] [T: http-nio-8080-exec-9] Error in: 507.Live_json_data javascript service
at Live_json_data:18
2020-09-28 10:20:06.651+0530 [L: ERROR] [O: S.c.q.l.c.Logger] [I: 509] [U: Factory_head_1] [S: ] [P: ] [T: http-nio-8080-exec-1] Error in: 509.Live_json_data javascript service
I have also attached the access report with the same please refer attachment
Solved! Go to Solution.
I checked your screenshot again, the permission target entity is the user itself, not the Thing entity with the services you need.
Hi , when you're configuring the permission for a mashup, here is what to do:
1. open the composer with Admin user (so it's easy to edit the permission)
2. open the mashup with the custom user in incognito mode (so we can check what's missing by using F12-Network in the browser)
3. From the browser console (F12-Network), when you see 404, it means Organization visibility is not granted, if it's 401, then it's runtime permission missing, Configure and save in the composer, and refresh the incognito page to check again if it's fixed
Hello,
Thanks, @zyuan1 for your response.
after completing the suggested steps I am getting 500 on consol I have attached the error file with the same please refer attachment.
regards,
Priyanka
I checked your screenshot again, the permission target entity is the user itself, not the Thing entity with the services you need.
Hi @zyuan1.
Please respond further on this post: https://community.ptc.com/t5/ThingWorx-Developers/Not-able-to-acess-services-after-login-on-FormLogin-page-in/m-p/689896#M48074
Thanks.
--Sharon