API AdobeStock problem to get a file with PHP code
Hello,
I'am using the AdobeStock API to buy licence of an picture and then try to download to my server.
After having bought the licence I can get the link to download the file :
Exemple : https://stock.adobe.com/Rest/Libraries/Download/60686279/1
But when I try to dowload it I have this error message :
{"error":"Cannot find a download for this file and license on this entitlement","code":"201","case":"404a23f05c855599ad50c62294f0598b"}
Here is my PHP code to get the file :
$myServerFilePath='toto/tata/';
file_put_contents($myServerFilePath,https://stock.adobe.com/Rest/Libraries/Download/60686279/1)))
{How can I do to avoid this error ? I tried to send a parameter tooken=... but it does'nt work...
Please need help ! 😉
Thnks a lot.
Vincent.
