Hi,
Since this is my first bid after a long hiatus on freelancing, I will briefly introduce myself: I am a full-time web and application programmer with over 20 years of design and development experience. I have a lot of experience in C# and PHP using various REST APIs.
I have recently done a lot of work using the Amazon APIs though mostly using c#. Much of the time I noticed there was much more development in PHP and I often had to translate PHP code to c# as there was much more out there in PHP.
Even though my work was using c#, it gave me a good understanding of the API both as to how it works and some of its limitations and quirks. I believe I will be able to clear the error in your script and get it to run smoothly.
Looking forward to hearing from you.
Thanks
Chana