Skip to content

500 response: cannot access data #23

@romainsacchi

Description

@romainsacchi

Hello,
after many attempts, my POST request to retrieve data keeps failing and returns a 500 error.

Example: a data request from the trade matrix (TM), for import in value of Apricots from France to Belgium in 2013, using Python's Requests.

inputs = {'datasource':'production', 'lang':'en', 'output_type':'objects', 'domain_code':'TM','List1Codes':'255', 'List2Codes':'68','List3Codes':'2620','List4Codes':'526', 'List5Codes':'2013', 'thousand_separator':',', 'decimal_separator':'.','decimal_places':'2','limit':'10'}

r = requests.post('http://fenixapps2.fao.org/api/v1.0/en/data', params=inputs)

This returns an error 500. It is to note that all the other GET requests are sucessful.

Thank you for your help.
Best regards, Romain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions