I got error when I sent addattachment request br rest api.
service.content.factory.DefaultContentMetadataFactory] makeMetadata API metadata provider module threw an exception attempting to expand metadata. Class : com.atlassian.confluence.plugins.recentlyviewed.cql.metadata.CurrentUserMetadataProvider provides properties [label].
And after that exception, log said 401 erroe for next getAttachment request I sent.