Works in postman 400 error in python req

  1. Describe the issue briefly
    I called the api in postman, works fine there but im getting response 400 in workspace
  2. How much time have you spent debugging this issue?
    (Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)
    4
  3. What is your hypothesis?

same problem for me too!
got the solution by the way?
@akanksha

check your python code

I have directly copied the url from the postman and pasted here!

you need to find the correct curl command convert it into python code and then paste it

If it working fine in postman then there may be some problem with request you are forming. Double check the number and type of variables needed to be supplied.

1 Like

There’s a way to convert api request from postman to code. So try converting to python then, paste it directly inside your function.

1 Like

omg!
Got it
thanks dude

1 Like