Error export pdf file with api ACC

Error export pdf file with api ACC

jose_loaiza5W6L6
Contributor Contributor
330 Views
0 Replies
Message 1 of 1

Error export pdf file with api ACC

jose_loaiza5W6L6
Contributor
Contributor

Hello everybody

 

Im trying to export a pdf file from acc with  APIs, I entered all parameters and body how is in the documentation however when I do the request the API throw a error 

 

 not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer xxxxxx

 

Bellow is the API that I use

 

 https://developer.api.autodesk.com/construction/files/v1/projects/139532ee-5cdb-4c9e-a293-652693991e...

 

-H 'authorization: Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6Imp3dF9zeW1tZXRyaWNfa2V5In0' \
-H 'content-type: application/json' \

{
"options": {
"outputFileName": "MyOutputFile",
"standardMarkups": {
"includePublishedMarkups": true,
"includeUnpublishedMarkups": true,
"includeMarkupLinks": true
},
"issueMarkups": {
"includePublishedMarkups": true,
"includeUnpublishedMarkups": true
},
"photoMarkups": {
"includePublishedMarkups": true,
"includeUnpublishedMarkups": true
}
},
"fileVersions": [
"['urn:adsk.wipprod:fs.file:vf.15Rg8B38Qp-SEu6HzXlTNg?version=1']"
]
}

 

Anyone have any idea that what is happening?

 

Thank you so much

0 Likes
331 Views
0 Replies
Replies (0)