Copy link to clipboard
Copied
I'm working with the Adobe CC Libraries APIs, the issue is traying to get the elements of an a Library using:
{{baseUrl}}/api/v1/libraries/:libraryId/elements/:elementId?selector=default
I received this error:
{
"message": "USSLibrary.getLibrary(): Library not found.",
"status": 404
}
The only way to have access to the library is using the parameter libraryVersion, the api is don't taking the last version as is expected, ex:
{{baseUrl}}/api/v1/libraries/:libraryId?libraryVersion=6
Copy link to clipboard
Copied
Hi Roberto,
Please doublecheck the library ids you're using in each call. If those are OK, is it possible that the library was deleted? If it was, older versions of the library may still be cached for a limited amount of time, in which case it is possible you would be able to retrieve it with "libraryVersion".
Copy link to clipboard
Copied
Hi @Paul Feyertag thanks for your replay, my case is the opposite, I need to do the query without the libraryVersion, the ontly request that works for me is this one:
{{baseUrl}}/api/v1/libraries/:libraryId?libraryVersion=6
If I remove in this request the libraryVersion, I received this:
{
"message": "USSLibrary.getLibrary(): Library not found.",
"status": 404
}
Adobe API reference: https://www.adobe.io/creative-cloud-libraries/docs/api/#operation/getLibrary
* It is worth mentioning that it is a private library.
Copy link to clipboard
Copied
Could you provide the request-ids of your calls to
{{baseUrl}}/api/v1/libraries/:libraryId?libraryVersion=6
as well as
{{baseUrl}}/api/v1/libraries/:libraryId
and the email of the account the library belongs to?
Thanks,
Paul
Copy link to clipboard
Copied
Related Links:
https://forums.creativeclouddeveloper.com/
https://www.adobe.io/creative-cloud-libraries/