Closed Nikschavan closed 4 years ago
Hey @dshafik just checking if you have any idea on this?
@Nikschavan I'm no longer with Akamai, and therefore no longer the maintainer of this package. Maybe @javiergarza can point you in the right direction?
@Nikschavan I have passed the feedback to the new owner of this repo. Waiting for him to decide how to proceed...
Hi, Thank you. Actually I did find out what the problem was in my case.
The Netstorage account that I was using was not updated yet to ObjectStore since we are still under this migration process. When I use a test account with NS4 active I don't see this error.
So I have switched to using FileStoreAdapter This seems to be able to write/delete files from Netstorage v3 as well as v4 in our testing. My assumption before was these two adapters are for NS3 and NS4 separately and would not work interchangeably, but luckily that does not seem to be the case.
So our plan is to keep using the FileStoreAdapter adapter now and also after the accounts get updated to NS4.
This is the error returned from the API when trying to delete a file -
Here is the backtrace where the API fails with this error -
After some debugging, I noticed the files are deleted successfully if
encoding
parameter from theAkamai\NetStorage\ObjectStoreAdapter->getMetadata
is removed.Any ideas what must be missing in this case?