Invalid request while using clarifai api

  1. Describe the issue briefly
    when i am calling the clarifai api follwing error is coming:
    status:11102
    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.

@shardul08
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.

@itachiuchiha
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

@akashchhetri
Error - 11009
API key not found

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