getMediaData Error

66 views
Skip to first unread message

petr...@druckservice.cc

unread,
Oct 7, 2015, 4:08:53 PM10/7/15
to Fotolia API
Hey :)

Giving up now...

Getting the following error:
<b>Fatal error</b>:  Uncaught exception 'Fotolia_Api_Exception' with message 'Wrong data type for parameter: id'

when trying this php code:
$fotolia_result = $api->getMediaData(
array(
    "id" => 8284409,
    "thumbnail_size" => 400,
    "language_id" => 4
));

api key is defined, user is logged in,
and i tried approx 100 combinations :)

what i am doing wrong?
thanks a lot and have a great day!

Georg

Mateusz Kutyba

unread,
Oct 7, 2015, 5:07:26 PM10/7/15
to Fotolia API
Hi,

Try with string, instead of int
Reply all
Reply to author
Forward
0 new messages