Skip to content

TypeError/ValueError: Provide Info on what arguments to pass #1

@igorhoogerwoord

Description

@igorhoogerwoord

file: Validation.py
error: TypeError

raise TypeError("You need to provide a valid dictionary request"

TypeError: You need to provide a valid dictionary request object. 
This could contain information in the currency, amount, card details and so on.
Please reach out to support@adyen.com if you have more questions.

Unclear to user of API what arguments or kind of dictionary to provide.
Suggested solution:

  • Refer to documentation ( when sufficiently updated )
  • Print required arguments and their types in the log

Same for:

file: util.py
error: ValueError
line 64

line 64, in generate_hpp_sig
    raise ValueError("Must Provide dictionary object")
ValueError: Must Provide dictionary object

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions