Issue while fetching plugins data into confluence page

RichardA January 5, 2022

Hi Team,

I am trying to fetch confluence plugins details into same confluence page using Rest API. while executing the API in Json macro its working fine. Once we published the page its showing error.

API for plugins list : https://MYURL/rest/plugins/latest/

plugins list is showing in the macro page

2.PNG

 

After published the page its showing below error

1.PNG

I am able to view the content if I logged in confluence using super admin credentials.

But if i logged in as end user its throwing error.

I have tried executing the same URL in my chrome window using super admin access, its showing plugins data as Json format. some times getting error like "

{"subCode":"upm.websudo.error"}"

Can anyone suggest me how to resolve this error.

Thanks !

 

1 answer

0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 9, 2022

Hi @RichardA

I found a similar post that may resolve you issue. Please take s look: https://community.atlassian.com/t5/Jira-questions/Getting-a-401-Unauthorized-Error-on-REST-APi/qaq-p/675724

Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events