Try ERPNext Buy Support Partners Foundation

How to solve this error while i am calling whitelistmethod in hook.py file

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

could you share your code?
Most likely there’s an error with a variable, but I can’t say much…

solved thnx for reply

@harshal_gawali1 Am facing same error can you tell me how you resolved? it would be more usefull…

If you calling your whitlist method via hook.py so you do not pass the argument those method e.g def method_name():