Unable to retrieve PDF id from the API!