Invalid request while using clarifai api

  1. Describe the issue briefly
    when i am calling the clarifai api follwing error is coming:
    description:invalid request
    details:malformed and invalid request

Make sure you are converting your data to JSON object.

yes i had converted the data into jason object.

Also ensure you are passing your api key in correct format.

What does converting data into JSON object means?

i am sure the format is correct but still getting the error

Convert data to JSON from dictionary.

You are not passing the correct parameters.
Check how strings are parsed in Python and try again.

Your not calling API with correct format. Check the clarifai documentation again

Error - 11009
API key not found

You aren’t passing the parameters in correct format.
Make sure they are correct.