Request Exception Error: "undefined" is not valid JSON

Imported by postman collection, try to call an API, geting the error Request Exception
Error: “undefined” is not valid JSON.

Could you please share the Postman collection file with us for testing? You can send it to [email protected].

Is it okay if i upload here?

Test.postman_collection.json|nullxnull

Ok

Hi Any update on the issue?

I haven’t encountered that error. Do you have any code in the Pre-request script?

there is this thing

but it is turned off

Showing inherited from parent

But my Root parent dont have such codes, neither my postman collection had

How can I turn that off delete that? Cannot see any delete button

Have you unchecked and saved before running? Is this a test case?
Please check the pre-request script of this interface and its parent directories. The inheritance hierarchy is: root folder > folder > endpoint> test case.