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

Atlassian Plugin Descriptor XML Schema
Is there a way to use a plugin/macro in Confluence to display results on a page?
how to find out how many times blueprints in confluence has been used
Converting a RefApp REST plugin into a Confluence plugin
Show HTML artifacts in bamboo without downloading
Atlassian Bitbucket Server Precommit Issue getting files
Atlassian Stash popup on Pull Request
Failed to load resource:soy template {Not all code is in Soy V 2 syntax (found file simple.soy not in Soy V2 syntax). }
Integrate HipChat into Slack
Section in Atlassian products (refapp)
How to read a file contained as a hash in Atlassian Stash Repository Hook?
Is atlas-run the only way to see how the changes are reflected?
Restore Stash from backup
JIRA - Acknowledge Save Button When Configuring Slow-Loading Gadget
Is it possible to 'lock' repos in Atlassian Stash?
Universal wiki Converter throws Out Of Memory Error

Categories

HOME
gdb
ggplot2
case
powerpoint
shiro
bitbucket-api
database-normalization
scripting
vxml
onclick
settings
extjs4.2
gson
intercom
parameter-passing
php-mysqlidb
exploit
highstock
beta
dapper-extensions
tiki-wiki
moses
licensing
nstimer
genexus-sd
exchangewebservices
finagle
ntp
corenlp-server
anki
mailkit
keras-layer
mnist
flatmap
vmware-fusion
branching-and-merging
berkeley-db-je
clang++
dapper-simplecrud
lampp
linter
automapper-5
openrasta
dotnet-httpclient
reportservice2010
launchctl
bluez
context-switch
tinkerpop
truezip
bbpress
sandcastle
reachability
rocks
cronexpression
node-request
docpad
adafruit
x-tag
nss
ellucian-scribe
nullable
user-management
jnlua
terracotta
intel-c++
sony-lifelog-api
lasso
sha512
ocra
pyobjc
omnifaces
nsurlsessiondatatask
snackbar
fail2ban
code-documentation
deform
sql-scripts
punycode
lambda-architecture
extjs2
dsym
menubar
cfcache
clickbank
xmltodict
printdialog
css-reset
superscrollorama
argouml
qtconcurrent
ilasm
jquery-address
photolibrary
load-time
office-2007
purepdf
wspbuilder

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