I created a custom plugin for confluence 7.13.7 and made two other endpoints. In my local Confluence setup, I can access those endpoints and get the desired result successfully. But, when I installed that plugin in my client’s instance, it gave a 404 error. The client is using the data center version of Confluence. What can be the reason for this?
The 404 error generally meant for content or url that could not be found. Did you check whether the API call url is correct and if proper authentication details were given?
If you don't mind, can you list the API call url here?
Did you also try calling the normal REST API call to the client's instance without using your plugin? Is that working fine?
Thanks,
Vamsi
@Vamsi Kandala thank you so much for the reply. Yes, I tried with the standard REST API in the confluence server system.
/rest/api/user/memberof?username={username_of_user}
This API is working fine and is giving the groups to which a user belongs.
My previous custom plugin API endpoint is:
rest/userpermissions/1.0/spaceGroup?spaceKey=ds
This endpoint gives all the groups that were applied to a space. This endpoint is working fine on my local Confluence instance. But, is not opening on the client's instance.
I changed the API URL to the following URL:
rest/api/1.0/spaceGroup?spaceKey=ds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are facing a similar issue. However, in our case, the custom REST endpoint is found on one node of the cluster, but not on the other.
Unfortunately, we don't have a solution yet either...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Restarting node on which REST endpoints were not available, with cleared plugin caches actually helped in our case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.