Error Message:
Welcome to the Atlassian Community @Abhishek Das
For which rest api endpoint are you getting this error ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For confluence I couldn't find such end point, can you share the document where you found it ? For Jira, that endpoint is available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also as per the screenshots you posted in other response, in postman tool you need to pass the username/password in Authorization section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is probably the code not sending the right thing, rather than the credentials.
I'm afraid we can't help you without seeing the code that is failing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share your code? Hard to help without more details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.