atlassian


Atlassian Confluence: Rest Api Create attachments Error 500 and Permission denied


Hi I am trying to use the api to upload a file to a confluence page.
I can upload it, using the confluence site, but when i try the api:
The Request
curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: nocheck" -F
"file=#Cygwin-Terminal.ico" -F "comment=This is my File"
https://example.com/confluence/rest/api/content/16844273/child/attachment
The Response:
{"statusCode":500,"message":"java.lang.RuntimeException:
org.apache.commons.file
upload.FileUploadBase$IOFileUploadException: Processing of
multipart/form-data request failed.
/opt/atlassian/confluence/temp/upload_c60796a8_e681_4613_afca_75c
d5f6da163_00000106.tmp (Permission denied)"}
Any ideas how to solve this problem ?

Related Links

Sql query to get all pages and their associated links for all confluence spaces
Atlassian Crowd Custom Connector Issue with AddUser - looking for Example Code and Documentation
WARNs in Confluence 6.0.1 after upgrade
compact code block in confluence wiki
Atlassian Confluence: Rest Api Create attachments Error 500 and Permission denied
Atlassian Git API Diff Commits using Git notation
Autogenerating atlassian confluence pagesusing JSDocs
Confluence atlassian change event listener
Enumerating user macro instances in Confluence
Add attachment to Jira using REST API
Update an open pull request successfully but get 409 conflict code
How do you reset HipChat Server Guest Console password
In Crowd is it possible to grant a user to JIRA and not to Confluence?
Allow a watch of dynamically created content in Confluence
Sourcetree Installation - Atlassian Login Stuck
DITA to Confluence 5+

Categories

HOME
google-cloud-platform
telegram
ns-3
solaris
r-googlesheets
python-multithreading
character
bing-maps
qpython
google-schemas
drop-down-menu
dkim
gson
pega
alamofire
php-5.6
dynatrace
zerobrane
bitnami
package-managers
firefox-addon
soci
solrcloud
springfox
exit
pchart
aggregation
xcode-ui-testing
siri
licensing
jackson-modules
wcag
bringtofront
sql-server-2000
twos-complement
pop3
latitude-longitude
ideascript
levenshtein-distance
datacachefactory
parser-generator
uiimage
pom.xml
jboss-4.2.x
openresty
textsum
lampp
spring-integration-sftp
reportservice2010
corruption
payara-micro
oracleclient
renaming
pocketsphinx-android
usart
pure-css
redbeard-ios
xcode-server
watch-os-2
google-query-language
blitline
highland.js
dynamics-nav-2016
toran-proxy
oracle-spatial
binomial-theorem
sapscript
mod-proxy
zscript
kubuntu
code-documentation
exceldatareader
infosphere-spl
addressing-mode
webfinger
raygun
wxformbuilder
gae-quotas
git-repo
xmltodict
ecslidingviewcontroller
rfc5322
beaker-testing
scringo
gpars
time.h
http-status-code-410
fb.ui
android-sdk-2.3
device-width
boost-msm
iboutlet
multiplexing
urlrewriter
box2d-iphone
role
umra
qglwidget
vs-android
jqueryform
purepdf
dsl-tools
escrow
fdf
linfu-dynamicproxy
pbcopy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App